:root{--bg:#f7f8fc;--surface:#fff;--ink:#22243b;--muted:#85879c;--brand:#6756df;--brand-dark:#5140c9;--line:#ececf4;--lavender:#eeebff;--radius:18px;--shadow:0 12px 40px #2520410a;font-family:Inter,"Segoe UI",system-ui,-apple-system,BlinkMacSystemFont,sans-serif;color:var(--ink);font-synthesis:none}*{box-sizing:border-box}body{margin:0;background:var(--bg);font-size:14px;line-height:1.5}button,input,select{font:inherit}button,a,input,select{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}a{color:var(--brand);text-decoration:none}a:hover{text-decoration:underline}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #9f94f3;outline-offset:3px}[hidden]{display:none!important}h1,h2,h3,p{margin-top:0}h1,h2,h3{line-height:1.2}svg{width:21px;height:21px;display:block;flex:none}[data-icon]{display:inline-flex;align-items:center;justify-content:center;flex:none}.button{display:inline-flex;justify-content:center;align-items:center;gap:10px;min-height:44px;padding:11px 19px;border:1px solid transparent;border-radius:11px;font-weight:600;transition:background .15s,transform .15s;white-space:nowrap}.button:hover{transform:translateY(-1px);text-decoration:none}.button.primary{background:var(--brand);color:#fff;box-shadow:0 5px 14px #6756df1b}.button.primary:hover{background:var(--brand-dark)}.button.secondary{background:#fff;color:var(--ink);border-color:#e3e3ed}.button.danger{background:#d84059;color:#fff}.icon-button{width:38px;height:38px;display:inline-flex;align-items:center;justify-content:center;background:transparent;border:0;border-radius:9px;color:#8b8b9c;flex:none}.icon-button:hover,.icon-button.selected{color:var(--brand);background:var(--lavender)}.muted{color:var(--muted)}.small{font-size:12px}.eyebrow{display:inline-block;font-size:10px;letter-spacing:1.7px;font-weight:750}.text-brand{color:var(--brand)}.brand{display:flex;align-items:center;gap:11px;font-size:20px;letter-spacing:-.6px;font-weight:750;color:var(--ink);white-space:nowrap}.brand:hover{text-decoration:none}.brand-mark{width:37px;height:37px;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;background:var(--brand);color:#fff;font-size:28px;letter-spacing:-3px;padding-right:4px;font-weight:750}.brand-light-text{font-weight:400;color:#77788b}.auth-shell{min-height:100dvh;display:grid;grid-template-columns:1fr 1fr;background:white}.auth-story{position:relative;min-height:800px;padding:48px 56px;color:#fff;overflow:hidden;background:radial-gradient(ellipse at 80% 90%,#9683edaa,transparent 60%),linear-gradient(145deg,#312773,#6c59d8)}.brand-light{color:#fff}.brand-light .brand-mark{background:#ffffff20}.story-copy{position:relative;z-index:1;margin-top:100px}.story-copy .eyebrow{color:#c4bbf6}.story-copy h1{font-size:clamp(40px,4vw,66px);letter-spacing:-2.7px;margin:20px 0}.story-copy p{color:#d6d0f5;font-size:16px;line-height:1.8}.story-foot{position:absolute;bottom:26px;color:#c4bceb;font-size:12px}.orbit-art{height:300px;position:relative;margin:0 auto;max-width:450px}.orbit{position:absolute;border:1px solid #ffffff15;border-radius:50%;left:50%;top:50%;transform:translate(-50%,-50%) rotate(-22deg)}.orbit-one{width:430px;height:220px}.orbit-two{width:300px;height:300px}.cloud-art{position:absolute;top:65px;left:40%;width:135px;height:135px;border:1px solid #ffffff80;border-radius:40px;background:linear-gradient(135deg,#f0edff66,#ffffff11);backdrop-filter:blur(10px);transform:rotate(-12deg);box-shadow:0 20px 60px #29206040;font-size:100px;font-weight:700;line-height:1.2;letter-spacing:-10px;text-align:center;padding-right:10px}.floating-file{position:absolute;background:#ffffffec;border-radius:13px;padding:12px 18px;color:#6858cb;font-weight:750;box-shadow:0 12px 20px #2b205722;z-index:2}.floating-file span{display:block;font-weight:400;font-size:10px;color:#8c879f;margin-top:5px}.file-one{left:6%;top:48px;transform:rotate(-8deg)}.file-two{right:-1%;top:194px;transform:rotate(7deg)}.auth-form-panel{display:flex;align-items:center;justify-content:center;padding:50px 35px}.auth-form-wrap{width:100%;max-width:360px}.auth-form-wrap h2{font-size:31px;letter-spacing:-1px;margin:12px 0}.auth-form-wrap>.muted{font-size:14px;margin-bottom:30px}.auth-form{display:flex;flex-direction:column;gap:7px}.auth-form>label:not(.check-label){font-size:12px;font-weight:650;margin-top:10px}.auth-form input:not([type=checkbox]),.dialog-input,.dialog-select{min-height:47px;background:#fafafe;border:1px solid #e6e5ef;border-radius:9px;padding:12px 13px;outline-color:#8a7ded;max-width:100%;width:100%;color:var(--ink)}.auth-form input::placeholder{color:#ababb9}.check-label{display:flex;align-items:center;gap:8px;font-size:12px;margin:16px 0;color:#6f7083}.check-label input{accent-color:var(--brand);width:16px;height:16px}.auth-submit{width:100%;margin-top:12px;justify-content:space-between}.auth-switch{text-align:center;font-size:12px;margin-top:26px;color:#8d8a9e}.auth-switch a{font-weight:650}.auth-note{text-align:center;color:#a6a3b5;font-size:11px;margin-top:42px}.validation:not(:empty){background:#fff1f3;border-radius:8px;color:#b72c49;padding:10px;font-size:12px}.validation ul{margin:0;padding-left:18px}.validation.validation-summary-valid{display:none}.field-error{color:#b72c49;font-size:11px}.auth-mobile-brand{display:none}.app-shell{display:flex;min-height:100dvh}.sidebar{position:fixed;inset:0 auto 0 0;width:246px;background:#fff;border-right:1px solid var(--line);display:flex;flex-direction:column;padding:31px 24px 20px;z-index:30}.sidebar>.brand{font-size:19px;margin:0 0 35px}.sidebar>.button{margin-bottom:35px}.nav-caption{font-size:9px;font-weight:750;letter-spacing:1.6px;color:#a2a2b3;margin:0 12px 15px}.nav-items{display:flex;flex-direction:column;gap:6px}.nav-item{display:flex;align-items:center;gap:13px;min-height:45px;width:100%;border:0;border-radius:10px;padding:11px 13px;background:transparent;color:#838397;text-align:left;font-size:13px;font-weight:500}.nav-item svg{width:19px;height:19px}.nav-item:hover{background:#f8f7ff;color:var(--brand)}.nav-item.active{color:var(--brand);background:var(--lavender);font-weight:650}.tiny-tag{font-size:8px;background:#f0edff;border:1px solid #ded8ff;padding:1px 5px;border-radius:4px;color:var(--brand);margin-left:auto}.nav-divider{height:1px;background:var(--line);margin:17px 12px}.storage-card{background:#faf9ff;border:1px solid #f0edf9;border-radius:13px;padding:17px 15px;margin-top:auto}.storage-card>[data-icon]{color:var(--brand);margin-bottom:12px}.storage-card strong{display:block;font-size:11px}.storage-card p{font-size:10px;color:var(--muted);margin:7px 0 10px}.storage-card progress{width:100%;height:5px;display:block;border:0;border-radius:6px;overflow:hidden;background:#eae5fa;accent-color:var(--brand)}progress::-webkit-progress-bar{background:#eae5fa}progress::-webkit-progress-value{background:var(--brand);border-radius:8px}.storage-hint{font-size:9px;color:#a8a2bf;display:block;margin-top:11px}.sidebar-foot{display:flex;align-items:center;gap:7px;margin-top:20px;font-size:9px;color:#aaa7b9}.status-dot{height:5px;width:5px;border-radius:50%;background:#51bd99}.main-shell{margin-left:246px;min-width:0;width:calc(100% - 246px);display:flex;flex-direction:column}.topbar{height:88px;padding:0 45px;border-bottom:1px solid var(--line);background:#fff;display:flex;align-items:center;gap:20px}.search-box{display:flex;align-items:center;gap:12px;width:min(440px,60%);color:#aaa8bc}.search-box input{border:0;outline:0;background:transparent;width:100%;color:var(--ink);font-size:12px;min-width:0}.search-box input::placeholder{color:#aaa8bc}.search-box kbd{font-size:10px;border:1px solid var(--line);border-radius:5px;min-width:19px;text-align:center;color:#b1afbf}.topbar-account{margin-left:auto;display:flex;align-items:center;gap:23px}.private-label{display:flex;align-items:center;gap:7px;font-size:10px;color:#9d9aa9;white-space:nowrap}.private-label svg{width:13px;height:13px}.avatar{border:3px solid #fff;box-shadow:0 0 0 1px #e8e3fc;background:#eae4ff;color:#7761cb;border-radius:50%;width:37px;height:37px;font-size:13px;font-weight:700}.workspace{padding:38px 45px 35px;max-width:1600px;width:100%;margin:0 auto;flex:1}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:28px}.page-heading h1{font-size:30px;letter-spacing:-1px;margin:8px 0 7px;font-weight:700}.title-dot{color:var(--brand)}.page-heading p{font-size:12px;margin:0}.page-heading>.button{font-size:11px}.page-heading>.button svg{width:17px}.welcome-banner{background:linear-gradient(110deg,#eae5ff,#f1edff 65%,#ede7ff);border:1px solid #e5defd;border-radius:17px;padding:29px 33px;display:flex;justify-content:space-between;min-height:226px;position:relative;overflow:hidden;margin-bottom:32px}.welcome-banner .eyebrow{font-size:8px;color:#9580c6;letter-spacing:1.6px}.welcome-banner h2{color:#51417f;font-size:27px;letter-spacing:-.8px;line-height:1.2;margin:9px 0 10px}.welcome-banner p{font-size:10px;color:#9886b9;margin-bottom:18px}.banner-button{background:#fff;color:#7861bd;font-size:10px;min-height:34px;padding:8px 13px;border-radius:7px;box-shadow:0 3px 10px #6a508312}.banner-button svg{width:13px;height:13px}.banner-art{position:relative;width:270px;flex:none;min-height:170px}.art-ring{width:220px;height:220px;border-radius:50%;background:linear-gradient(145deg,#d8cdfb55,#f8f5ff99);border:1px solid #ffffff55;position:absolute;top:-12px;left:20px}.art-folder{position:absolute;top:53px;left:70px;width:135px;height:100px;border-radius:10px;background:linear-gradient(130deg,#a18be5,#7b60c1);transform:rotate(-11deg);box-shadow:9px 17px 20px #76589a30}.art-folder:before{content:"";position:absolute;top:-13px;left:0;width:63px;height:20px;background:#ac96e9;border-radius:8px 12px 0 0}.art-folder span,.art-folder i{position:absolute;left:12px;right:12px;top:8px;height:78px;border-radius:5px;background:#f6f1ff;transform:rotate(4deg)}.art-folder i{top:18px;background:#e8ddff;transform:rotate(-3deg)}.art-folder b{position:absolute;inset:28px 0 -12px;background:linear-gradient(120deg,#b5a1ee,#9276d4);border-radius:9px;box-shadow:0 -1px 1px #ffffff30;color:#dbceff;font-size:27px;text-align:center;padding-top:15px}.art-chip{position:absolute;bottom:6px;left:137px;padding:7px 13px;color:#8e79b5;font-size:9px;border-radius:8px;background:#ffffffbb;transform:rotate(6deg);box-shadow:0 8px 15px #8c70a015}.library-toolbar{display:flex;justify-content:space-between;align-items:center;min-height:40px;margin-bottom:18px;gap:10px}.breadcrumbs{display:flex;align-items:center;gap:9px;min-width:0;flex-wrap:wrap;font-size:13px;font-weight:650}.breadcrumbs button{border:0;background:transparent;color:#8d879e;max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:4px 0}.breadcrumbs button:last-child{color:var(--ink)}.breadcrumbs span{color:#c6c0d2}.view-controls{display:flex;align-items:center;gap:3px;flex:none}.view-controls .icon-button{width:30px;height:30px;border-radius:6px}.view-controls svg{width:16px;height:16px}.item-count{font-size:10px;color:#aaa6b8;margin-right:13px}.file-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(175px,1fr));gap:17px}.file-card{background:white;border:1px solid #e9e8f1;border-radius:12px;overflow:hidden;transition:box-shadow .15s,border-color .15s;min-width:0}.file-card:hover{box-shadow:var(--shadow);border-color:#d7cfed}.file-open{display:block;width:100%;border:0;background:transparent;padding:0;color:var(--ink);text-align:left}.file-visual{height:122px;display:flex;align-items:center;justify-content:center;position:relative;background:#faf9fe;overflow:hidden}.file-visual>[data-icon] svg{width:47px;height:47px;stroke-width:1.1;color:#a590dd}.file-visual.folder{background:#fcf9f0}.file-visual.folder>[data-icon] svg{color:#d7b45e;fill:#f6e9bb}.file-visual.document{background:#f1f6ff}.file-visual.document>[data-icon] svg{color:#83a7dc}.file-visual.video{background:#fff0f3}.file-visual.video>[data-icon] svg{color:#d990a6}.file-visual img{width:100%;height:100%;object-fit:cover}.file-type{font-size:8px;position:absolute;bottom:8px;left:9px;padding:2px 5px;background:#ffffffbb;color:#a69caf;border-radius:4px;font-weight:600;max-width:70px;overflow:hidden;text-overflow:ellipsis}.file-info{padding:12px 13px 5px}.file-info strong{display:block;font-size:11px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.file-info small{font-size:9px;color:#b1aabb;display:block;margin-top:4px}.file-actions{display:flex;justify-content:flex-end;gap:0;padding:2px 6px 7px}.file-actions .icon-button{width:28px;height:28px}.file-actions svg{width:14px;height:14px}.file-actions .is-favorite{color:#d4a24d}.file-actions .is-favorite svg{fill:#f8edd3}.file-grid.list-mode{display:flex;flex-direction:column;gap:7px}.list-mode .file-card{display:flex;align-items:center;border-radius:9px}.list-mode .file-open{display:flex;align-items:center;min-width:0}.list-mode .file-visual{width:56px;height:54px;flex:none;margin:5px 0 5px 6px;border-radius:6px}.list-mode .file-visual>[data-icon] svg{width:26px;height:26px}.list-mode .file-type{display:none}.list-mode .file-info{padding:8px 14px;min-width:0}.list-mode .file-actions{margin-left:auto;flex:none;padding:5px 8px}.empty-state{padding:47px 20px 57px;text-align:center;border:1px dashed #ded9ed;border-radius:15px;background:#ffffff88}.empty-icon{display:flex;margin:0 auto 20px;width:62px;height:62px;border-radius:20px;background:#efebfc;color:#a18ad9}.empty-icon svg{width:31px;height:31px;stroke-width:1.3}.empty-state h2{font-size:17px;font-weight:600;color:#676077;margin-bottom:9px}.empty-state p{font-size:12px;color:#aaa1b8;margin-bottom:20px}.empty-state .button{font-size:11px;min-height:37px}.workspace-footer{padding:17px 45px;border-top:1px solid #efedf5;display:flex;justify-content:space-between;font-size:9px;color:#b3adbf}.workspace-footer>span:first-child{font-weight:650}.people-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:18px}.person-card{padding:22px 14px 12px;border:1px solid var(--line);border-radius:14px;background:white;text-align:center}.person-open{background:transparent;border:0;width:100%;display:flex;flex-direction:column;align-items:center;gap:9px;color:var(--ink)}.person-open img{width:80px;height:80px;object-fit:cover;border-radius:50%;background:var(--lavender)}.person-open strong{font-size:13px}.person-open small{font-size:11px;color:var(--muted)}.person-card>.button{margin-top:12px;min-height:30px;padding:4px 9px;font-size:10px}.info-note{display:flex;align-items:center;gap:12px;background:var(--lavender);color:#8e7cba;border-radius:10px;padding:15px 18px;margin-bottom:25px;font-size:11px}.info-note p{margin:0}.settings-card{border:1px solid var(--line);border-radius:15px;background:#fff;padding:30px;max-width:730px}.settings-card h2{margin:10px 0;font-size:24px}.settings-card h3{font-size:13px;margin:0 0 8px}.settings-divider{height:1px;background:var(--line);margin:25px 0}.settings-row{display:flex;gap:25px;align-items:center;justify-content:space-between}.settings-row p{color:var(--muted);font-size:12px;margin:0;max-width:450px}.settings-caption{font-size:10px;margin:15px 0 0;color:#a8a0b9}.switch{display:block;position:relative;width:42px;height:24px;flex:none}.switch input{position:absolute;inset:0;opacity:0;width:100%;height:100%;margin:0;cursor:pointer}.switch span{display:block;width:42px;height:24px;border-radius:14px;background:#d9d6e5;pointer-events:none}.switch span:before{content:"";position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:white;transition:transform .2s}.switch input:checked+span{background:var(--brand)}.switch input:checked+span:before{transform:translateX(18px)}.switch input:disabled+span{opacity:.45}.switch input:focus-visible+span{outline:3px solid #b9aafa;outline-offset:3px}.pending-upload{display:flex;align-items:center;gap:10px;border-top:1px solid var(--line);padding:10px 0;font-size:12px}.pending-upload>span{min-width:0;overflow:hidden;text-overflow:ellipsis}.pending-upload small{display:block;color:var(--muted)}.pending-upload button{margin-left:auto;flex:none}.mobile-menu{display:none}.sidebar-overlay{position:fixed;inset:0;z-index:29;background:#19132c55;border:0}.drop-overlay{position:fixed;inset:12px;z-index:60;background:#f2eeffef;border:3px dashed #b8a9ed;border-radius:20px;display:flex;align-items:center;justify-content:center;flex-direction:column;pointer-events:none;color:var(--brand);backdrop-filter:blur(5px)}.drop-overlay svg{width:80px;height:80px;stroke-width:1}.drop-overlay h2{margin-top:25px}.upload-panel{position:fixed;bottom:20px;right:24px;width:340px;max-width:calc(100vw - 32px);border:1px solid #e1d9ee;border-radius:13px;background:white;z-index:50;box-shadow:0 10px 70px #39264825;max-height:45vh;overflow:auto}.upload-panel-head{display:flex;align-items:center;justify-content:space-between;padding:10px 17px;background:#f7f4ff;font-size:12px;position:sticky;top:0}.upload-entry{padding:12px 17px;border-top:1px solid var(--line);font-size:11px}.upload-entry-head{display:flex;justify-content:space-between;gap:10px;align-items:center}.upload-entry-head>span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.upload-entry progress{width:100%;height:4px;display:block;border:0;border-radius:5px;margin:9px 0 4px;accent-color:var(--brand)}.upload-entry small{font-size:10px;color:var(--muted)}.toast{position:fixed;bottom:22px;left:50%;transform:translateX(-50%);background:#302844;color:white;padding:12px 20px;border-radius:11px;max-width:calc(100vw - 30px);z-index:100;font-size:12px;box-shadow:0 7px 30px #1b162822}.action-dialog{border:1px solid #e9e2f5;border-radius:17px;padding:26px;width:min(450px,calc(100vw - 32px));max-height:85dvh;box-shadow:0 20px 100px #24183730;color:var(--ink)}.action-dialog::backdrop{background:#20152f66;backdrop-filter:blur(3px)}.dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:10px}.dialog-heading h2{font-size:19px;overflow-wrap:anywhere;margin:0}.action-dialog p{font-size:12px}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:23px}.dialog-actions .button{font-size:12px;min-height:38px}.preview-image{width:100%;max-height:350px;object-fit:contain;border-radius:10px;background:#f6f2fc}.photo-face-row{display:flex;align-items:center;gap:10px;margin-top:12px;font-size:12px}.photo-face-row img{width:42px;height:42px;object-fit:cover;border-radius:50%}.photo-face-row button{margin-left:auto;font-size:10px;min-height:30px;padding:5px 9px}.preview-download{display:inline-flex;margin-top:15px}.danger-copy{color:#bf3b58}.loading-copy{color:var(--muted);padding:40px;text-align:center;grid-column:1/-1}
@media(min-width:1500px){.sidebar{width:266px;padding-left:29px;padding-right:29px}.main-shell{margin-left:266px;width:calc(100% - 266px)}.workspace{padding:45px 60px}.topbar{padding:0 60px}.file-grid{grid-template-columns:repeat(auto-fill,minmax(190px,1fr))}}
@media(max-width:1050px){.sidebar{width:220px;padding:28px 18px 18px}.main-shell{margin-left:220px;width:calc(100% - 220px)}.workspace{padding:30px 28px}.topbar{padding:0 28px}.welcome-banner{padding:25px}.banner-art{width:210px}.art-ring{left:0}.art-folder{left:45px}.art-chip{left:105px}.private-label{display:none}.file-grid{grid-template-columns:repeat(auto-fill,minmax(155px,1fr))}.file-actions .icon-button{width:30px}.auth-story{padding:40px 35px}.orbit-one{width:330px}.file-two{right:-35px}.story-copy h1{font-size:47px}.auth-form-panel{padding:35px}.auth-form-wrap h2{font-size:28px}}
@media(max-width:760px){.sidebar{transform:translateX(-100%);width:255px;transition:transform .2s}.sidebar.open{transform:translateX(0)}.main-shell{width:100%;margin:0}.mobile-menu{display:inline-flex}.topbar{height:70px;padding:0 18px;gap:11px;position:sticky;top:0;z-index:20}.search-box{width:100%;gap:8px}.search-box kbd{display:none}.search-box input{font-size:12px}.topbar-account{gap:0}.workspace{padding:27px 22px}.page-heading{margin-bottom:24px;gap:12px}.page-heading h1{font-size:28px}.page-heading .eyebrow{font-size:8px;letter-spacing:1.2px}.page-heading>.button{padding:10px;font-size:10px;min-height:38px;gap:6px}.page-heading p{font-size:11px}.welcome-banner{padding:24px;min-height:212px;margin-bottom:26px}.welcome-banner h2{font-size:25px}.welcome-banner p{max-width:200px;line-height:1.5}.banner-art{width:165px}.art-ring{width:180px;height:180px;left:-3px;top:0}.art-folder{width:111px;height:87px;left:25px;top:47px}.art-folder span,.art-folder i{height:65px}.art-chip{left:57px;bottom:2px}.workspace-footer{padding:17px 22px;font-size:8px}.workspace-footer>span:last-child{max-width:210px;text-align:right}.file-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.file-visual{height:125px}.file-actions .icon-button{width:36px;height:34px}.file-actions svg{width:16px;height:16px}.file-info strong{font-size:12px}.file-info small{font-size:10px}.file-actions{justify-content:space-evenly;padding:2px 2px 6px}.list-mode .file-visual{width:43px;height:48px}.list-mode .file-actions .icon-button{width:32px;height:36px}.list-mode .file-info{padding:8px;max-width:calc(100vw - 210px)}.list-mode .file-actions{padding-right:3px}.settings-card{padding:22px}.settings-row{gap:16px}.settings-row p{font-size:11px}.people-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.info-note{font-size:10px;padding:13px}.info-note svg{width:23px}.breadcrumbs{font-size:12px}.breadcrumbs button{max-width:145px}.item-count{font-size:9px;margin-right:7px}.upload-panel{right:16px;bottom:16px}.auth-shell{grid-template-columns:1fr}.auth-story{display:none}.auth-form-panel{min-height:100dvh;padding:28px;flex-direction:column;justify-content:center;gap:45px}.auth-mobile-brand{display:flex}.auth-form-wrap{max-width:370px}.auth-form-wrap h2{font-size:30px}.auth-note{margin-top:25px}}
@media(max-width:420px){.workspace{padding:23px 16px}.topbar{padding:0 12px;gap:5px}.welcome-banner{padding:22px 20px}.welcome-banner h2{font-size:23px}.welcome-banner .eyebrow{font-size:7px}.welcome-banner p{max-width:180px;font-size:9px}.banner-art{width:100px}.art-ring{width:130px;height:130px;top:28px;left:-20px}.art-folder{left:-4px;top:60px;width:87px;height:74px}.art-folder span,.art-folder i{height:50px}.art-folder b{font-size:20px;padding-top:10px}.art-chip{left:1px;bottom:8px;font-size:8px}.file-visual{height:105px}.file-actions .icon-button{width:31px}.page-heading>.button{font-size:0;gap:0;padding:11px}.page-heading>.button svg{width:20px;height:20px}.workspace-footer{padding:15px 16px}.file-info{padding:10px 10px 5px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;scroll-behavior:auto!important}}
.load-more{margin:22px auto 0;display:flex;font-size:12px}
.sidebar{overflow-y:auto}
@media(max-width:760px){.auth-form input:not([type=checkbox]),.dialog-input,.dialog-select,.search-box input{font-size:16px}}
.hidden-toggle{display:flex;align-items:center;gap:7px;border:1px solid #e9e4f3;border-radius:9px;background:#faf8ff;color:#8d7ba8;min-height:36px;padding:7px 10px;font-size:10px;white-space:nowrap}.hidden-toggle svg{width:16px;height:16px}.hidden-toggle[aria-pressed=true]{color:var(--brand);border-color:#c8baf0;background:#eee8ff}.file-card{overflow:visible;position:relative}.file-visual{border-radius:11px 11px 0 0}.file-card.is-hidden{border-style:dashed;border-color:#c8b8e3;background:#fcfaff}.hidden-badge{position:absolute;right:8px;top:8px;font-size:8px;background:#ffffffdb;color:#9984b6;border:1px solid #e9e0f4;border-radius:5px;padding:2px 5px}.item-menu{position:relative}.item-menu summary{list-style:none}.item-menu summary::-webkit-details-marker{display:none}.item-menu summary svg{width:17px;height:17px}.item-menu[open]>summary{background:var(--lavender);color:var(--brand)}.item-menu-options{position:fixed;z-index:110;background:white;border:1px solid #e9e2f2;border-radius:11px;box-shadow:0 12px 35px #30224125;padding:6px;width:190px;max-width:calc(100vw - 20px)}.item-menu-options button{display:flex;align-items:center;gap:10px;text-align:left;width:100%;min-height:38px;background:transparent;border:0;border-radius:7px;padding:8px 10px;font-size:11px;color:#70647f}.item-menu-options button:hover{background:#f5f1fd;color:var(--brand)}.item-menu-options svg{width:16px;height:16px}.list-mode .file-visual{border-radius:7px}.list-mode .hidden-badge{display:none}.file-actions{justify-content:flex-end;gap:3px}.map-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:13px}.place-search,.location-search{display:flex;gap:8px;align-items:center;max-width:540px;width:100%}.place-search input,.location-search input,.location-name input,.coordinate-fields input{border:1px solid #e5dfef;background:#fff;border-radius:9px;padding:10px 12px;min-height:40px;min-width:0;width:100%;outline-color:var(--brand);color:var(--ink);font-size:12px}.place-search .button,.map-toolbar>.button,.location-search .button{font-size:11px;padding:10px 13px;min-height:40px}.map-frame{position:relative;border:1px solid #e2dbea;border-radius:17px;overflow:hidden;background:#edf0f1}.photo-map{height:min(650px,68vh);min-height:360px;width:100%;z-index:1}.map-counter{position:absolute;left:15px;bottom:25px;background:#ffffffed;color:#746486;box-shadow:0 2px 15px #2b204419;padding:8px 12px;font-size:11px;border-radius:8px;z-index:500;max-width:calc(100% - 35px)}.map-section>#map-help{margin-top:12px}.photo-marker{background:transparent;border:0}.photo-pin{position:relative;width:62px;height:62px;border:4px solid white;border-radius:10px;background:#d9d5e5;box-shadow:0 4px 12px #25303a50;display:flex;align-items:center;justify-content:center;transition:transform .15s;cursor:pointer}.photo-pin:after{content:"";position:absolute;bottom:-11px;left:22px;border-left:6px solid transparent;border-right:6px solid transparent;border-top:8px solid white}.photo-pin img{width:100%;height:100%;object-fit:cover;border-radius:5px}.photo-pin b{position:absolute;inset:0;display:flex;justify-content:center;align-items:center;color:white;background:#201a3933;text-shadow:0 1px 4px #0009;border-radius:5px;font-size:23px;font-weight:750}.photo-pin:hover{transform:translateY(-3px);border-color:#8c7cea}.pin-placeholder{color:#fff;font-size:30px}.pin-video{position:absolute;right:3px;bottom:1px;background:#211a3f66;color:white;border-radius:4px;font-size:10px;padding:0 3px}.selected-location-pin{width:18px;height:18px;border:3px solid #fff;border-radius:50%;background:var(--brand);box-shadow:0 1px 6px #35234e99}.leaflet-container{font-family:inherit;background:#e8edf0}.leaflet-control-attribution{font-size:9px!important}.place-results{display:flex;flex-direction:column;position:relative;z-index:1000;max-height:180px;overflow:auto;margin-bottom:10px}.place-results:empty{display:none}.place-results button,.place-results>span{background:#fff;border:1px solid #eee7f3;padding:10px 14px;text-align:left;color:#80708f;font-size:11px;line-height:1.5;cursor:pointer}.place-results button:hover{background:#f1ebfc}.media-dialog{width:min(960px,calc(100vw - 32px));max-height:92dvh;padding:0;border:1px solid #e6dfef;border-radius:17px;box-shadow:0 20px 100px #20173440;color:var(--ink)}.media-dialog::backdrop,.location-dialog::backdrop{background:#18102088;backdrop-filter:blur(4px)}.viewer-heading{display:flex;justify-content:space-between;align-items:center;padding:18px 22px;gap:15px;border-bottom:1px solid var(--line)}.viewer-heading h2{font-size:16px;overflow-wrap:anywhere;margin:0 0 5px}.viewer-heading p{font-size:10px;margin:0;color:var(--muted)}.viewer-toolbar{display:flex;align-items:center;gap:15px;padding:10px 22px;background:#fcfaff;flex-wrap:wrap;border-bottom:1px solid var(--line)}.viewer-toolbar label{display:flex;align-items:center;gap:8px;font-size:11px;white-space:nowrap;color:#8f7b9f}.viewer-toolbar select,.pdf-controls select{padding:6px 8px;border:1px solid #e3dced;background:#fff;border-radius:7px;color:#6b5b7c;font-size:11px;max-width:200px}.viewer-toolbar>.button{margin-left:auto;font-size:10px;padding:6px 12px;min-height:33px}.viewer-toolbar>#media-status{font-size:10px;color:#a28ba9;max-width:350px}.media-stage{background:#f2f0f5;min-height:170px;max-height:65dvh;overflow:auto;display:flex;align-items:center;justify-content:center;padding:14px;position:relative;color:#95849f;font-size:12px;text-align:center}.viewer-image{max-width:100%;max-height:61dvh;width:auto;height:auto;object-fit:contain;display:block}.media-stage video{display:block;max-width:100%;width:100%;max-height:61dvh;background:#15111d;border-radius:6px}.media-stage canvas{display:block;background:white;flex:none;max-width:none;box-shadow:0 3px 15px #21172e18}.pdf-controls{display:flex;align-items:center;justify-content:center;gap:12px;padding:9px;background:#fcfaff;font-size:11px;color:#887295;border-top:1px solid var(--line)}.pdf-controls label{display:flex;align-items:center;gap:7px}.pdf-controls .icon-button{font-size:23px}.viewer-location{display:flex;gap:12px;align-items:center;justify-content:space-between;padding:13px 22px;border-top:1px solid var(--line);color:#9c8aa4;font-size:10px}.viewer-location .button{font-size:10px;min-height:33px;padding:6px 11px}.viewer-faces{padding:0 22px 15px}.viewer-faces:empty{padding:0}.viewer-faces>h3{margin-top:17px}.text-button{border:0;background:transparent;padding:0;color:var(--brand);font-size:inherit;text-decoration:underline;cursor:pointer}.media-stage.document-stage{display:block;text-align:left;align-items:initial;color:var(--ink);padding:20px;min-height:300px}.text-preview{white-space:pre-wrap;overflow-wrap:anywhere;margin:0;padding:17px;background:white;line-height:1.7;font-family:Consolas,"Cascadia Mono",monospace;font-size:12px;border-radius:8px}.office-page{background:white;box-shadow:0 3px 15px #21172e10;border-radius:5px;max-width:780px;margin:0 auto 20px;padding:32px}.office-page h3{font-size:14px;color:#9b89aa;margin-bottom:25px}.office-text{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.85;font-size:14px;color:#51465d}.sheet-scroll{overflow:auto}.sheet-scroll table{border-collapse:collapse;font-size:12px;min-width:100%}.sheet-scroll td{border:1px solid #e6dfea;min-width:85px;padding:7px;max-width:350px;overflow-wrap:anywhere}.sheet-scroll tr:nth-child(even){background:#faf8fd}.location-dialog{border:1px solid #e5dced;border-radius:16px;padding:23px;width:min(700px,calc(100vw - 24px));max-height:93dvh;color:var(--ink)}.location-map{height:300px;margin:13px 0;border:1px solid #e7dfef;border-radius:10px;overflow:hidden;z-index:1}.coordinate-fields{display:flex;gap:14px}.coordinate-fields label{width:50%;font-size:11px;color:#9c87a7}.coordinate-fields input,.location-name input{margin-top:5px}.location-name{display:block;margin-top:13px;font-size:11px;color:#9c87a7}.duplicate-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:9px;margin-top:20px}.duplicate-actions .button{font-size:11px;min-height:38px;padding:9px 13px}.action-dialog>label{display:block;font-size:11px;color:#9a86a5;margin:18px 0 7px}.storage-settings{margin-top:20px;font-size:12px}.storage-settings .button{font-size:11px;min-height:37px}.admin-card{max-width:900px}.quota-user{display:flex;align-items:center;gap:18px;padding:20px 0;border-top:1px solid var(--line)}.quota-user>div{flex:1;min-width:0}.quota-user strong{display:block;font-size:13px;overflow-wrap:anywhere}.quota-user small{display:block;color:#a08ca9;font-size:11px;overflow-wrap:anywhere}.quota-user p{font-size:10px;color:var(--muted);margin:5px 0 0}.quota-user label{font-size:10px;color:#a08ca9;width:105px;flex:none}.quota-user input{width:100%;border:1px solid #e8e0ef;border-radius:7px;padding:8px;margin-top:5px;color:var(--ink);font-size:13px}.quota-user .button{min-height:35px;font-size:11px;padding:8px 12px}
@media(max-width:760px){.hidden-toggle{width:35px;height:35px;padding:8px;min-height:35px}.hidden-toggle span:last-child{display:none}.topbar-account{gap:8px}.search-box input{font-size:14px}.map-toolbar{gap:8px}.place-search .button,.map-toolbar>.button{font-size:10px;padding:8px 10px}.place-search input,.location-search input,.coordinate-fields input,.location-name input{font-size:16px}.photo-map{height:60dvh;min-height:360px}.map-counter{font-size:10px;bottom:23px;left:10px}.media-dialog{width:calc(100vw - 18px);max-height:94dvh;border-radius:12px}.viewer-heading{padding:14px}.viewer-heading h2{font-size:14px}.viewer-toolbar{padding:9px 12px;gap:8px}.viewer-toolbar>#media-status{font-size:9px;max-width:100%;order:3;width:100%}.viewer-toolbar select{font-size:12px;max-width:172px;min-height:34px}.viewer-toolbar>.button{font-size:10px}.viewer-location{padding:12px;font-size:9px;flex-wrap:wrap}.viewer-faces{padding:0 12px 12px}.location-dialog{padding:17px}.location-map{height:250px}.media-stage.document-stage{padding:10px}.office-page{padding:20px 16px}.office-text{font-size:13px}.quota-user{gap:10px;flex-wrap:wrap}.quota-user>div{width:100%;flex:auto}.quota-user label{flex:1}.quota-user .button{align-self:flex-end}.photo-pin{width:55px;height:55px;border-width:3px}.photo-pin b{font-size:21px}.photo-pin:after{left:20px}.file-actions{justify-content:space-evenly}.list-mode .file-actions{gap:0}.file-actions .icon-button{width:33px;height:34px}.text-preview{font-size:11px;padding:12px}.map-section+#map-help{font-size:10px}}
.media-stage:has(canvas){display:block;text-align:left}.media-stage canvas{margin:0 auto}.leaflet-container .photo-pin img{width:100%!important;height:100%!important;max-width:100%!important;flex:none;min-width:0;object-fit:cover}.place-attribution{padding:7px 12px;color:#95849f;font-size:10px;background:#faf8fd}.place-attribution a{color:var(--brand)}
.heading-actions{position:relative}.heading-actions>summary{display:none}.heading-actions-menu{display:flex;gap:10px}.heading-actions:not([open])>.heading-actions-menu{display:flex}.heading-actions-menu .button{font-size:12px;white-space:nowrap}.view-controls{flex-wrap:wrap}#sort-items,.feature-gallery select{border:1px solid #dcd7eb;background:#fff;border-radius:12px;padding:11px 14px;color:#514567;font:inherit;font-size:12px;max-width:100%}.list-date,.list-size{display:none}.file-table-head{display:grid;grid-template-columns:minmax(170px,1fr) 190px 100px 112px;gap:16px;padding:16px 14px;border-bottom:1px solid #dcd7e6;color:#777082;font-size:12px}.file-table-head button{border:0;background:none;text-align:left;font:inherit;color:inherit;cursor:pointer}.file-grid.list-mode{gap:0}.list-mode .file-card{display:grid;grid-template-columns:minmax(170px,1fr) 190px 100px 112px;gap:16px;border:0;border-bottom:1px solid #e7e3ec;border-radius:0;padding:10px 14px;min-height:78px}.list-mode .list-date,.list-mode .list-size{display:block;font-size:12px;color:#6c6575}.list-mode .file-info{max-width:none;padding:8px 12px}.list-mode .file-info small{display:none}.list-mode .file-actions{padding:0}.list-mode .file-visual{width:40px;height:40px;margin:0}.list-mode .file-info strong{font-size:13px}.library-toolbar{flex-wrap:wrap}
.feature-gallery>label{display:flex;align-items:center;gap:16px;padding:18px 22px;background:white;border:1px solid #e8e2f0;border-radius:16px;box-shadow:0 5px 20px #382b5310;font-size:12px;color:#897699}.feature-gallery select{flex:1;max-width:520px;cursor:pointer}.gallery-heading{text-align:center;padding:35px 15px 27px}.gallery-heading>span{font-size:9px;letter-spacing:2px;color:#a193b6}.gallery-heading h2{font-size:30px;letter-spacing:-1px;margin:10px 0;color:#332b49}.gallery-heading p{font-size:12px;color:#9c8ea9}.collage-grid{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));grid-auto-rows:clamp(70px,9vw,130px);grid-auto-flow:dense;gap:7px;background:#fff;padding:12px;border-radius:20px;box-shadow:0 10px 36px #30254412}.collage-grid button,.timeline-photos button,.timeline-cover button{border:0;padding:0;background:#eee9f6;overflow:hidden;position:relative;cursor:pointer;min-width:0}.collage-grid button{border-radius:5px}.collage-grid button:nth-child(12n+3),.collage-grid button:nth-child(12n+5),.collage-grid button:nth-child(12n+8){grid-column:span 2;grid-row:span 2}.collage-grid button:nth-child(12n+10){grid-column:span 2}.collage-grid img,.timeline-photos img,.timeline-cover img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .25s}.collage-grid button:hover img,.timeline-photos button:hover img{transform:scale(1.04)}.collage-grid button span,.timeline-photos button span,.timeline-cover button span{position:absolute;bottom:0;left:0;right:0;background:linear-gradient(transparent,#0009);color:white;font-size:10px;padding:14px 8px 6px;opacity:0}.collage-grid button:focus-visible span,.collage-grid button:hover span{opacity:1}.gallery-empty{padding:30px;text-align:center;grid-column:1/-1;color:#8e7e9c}.feature-gallery>button{margin:24px auto;display:block}.timeline-list{position:relative}.timeline-list:before{content:'';position:absolute;top:50px;bottom:50px;left:130px;width:2px;background:#d3cce0}.timeline-day{--tone:#ba8a23;--wash:#fff6df;display:grid;grid-template-columns:110px 16px minmax(0,1fr);gap:12px;align-items:center;margin:0 0 24px;position:relative}.tone-1{--tone:#0b9e97;--wash:#e4f6f4}.tone-2{--tone:#8b52ba;--wash:#f0e8fa}.tone-3{--tone:#d76f57;--wash:#fff0e8}.tone-4{--tone:#3f94bd;--wash:#e7f4fc}.tone-5{--tone:#c7578d;--wash:#fdebf4}.timeline-cover button{display:block;width:110px;height:110px;border-radius:50%;border:4px solid var(--tone);box-shadow:0 5px 15px #44364a12}.timeline-node{width:17px;height:17px;border:3px solid white;border-radius:50%;background:var(--tone);z-index:1}.timeline-card{display:flex;gap:20px;align-items:center;background:linear-gradient(110deg,var(--wash),white);border-radius:22px;border-right:6px solid var(--tone);padding:20px;min-width:0;box-shadow:0 5px 18px #44364a08}.timeline-caption{width:145px;flex:none;display:flex;flex-direction:column;gap:8px}.timeline-day-number{font-size:27px;font-weight:750;color:var(--tone)}.timeline-caption time{font-size:12px;color:#6b5f77}.timeline-caption strong{font-size:15px;color:#3d304d}.timeline-caption small{font-size:10px;color:#a08ba9}.timeline-photos{display:flex;gap:7px;overflow:auto;min-width:0;padding-bottom:4px}.timeline-photos button{flex:0 0 130px;height:130px;border-radius:14px;border:3px solid white}
.viewer-switches{display:flex;gap:6px;align-items:center}.viewer-switches .button{font-size:10px;min-height:34px;padding:7px 10px}.viewer-canvas{position:relative;min-height:0}.viewer-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:2;border:1px solid #ffffff80;border-radius:50%;width:40px;height:40px;font-size:30px;background:#30294399;color:white}.viewer-arrow.previous{left:9px}.viewer-arrow.next{right:9px}.viewer-arrow:disabled{opacity:.22;cursor:default}.viewer-position{text-align:center;font-size:10px;color:#95869f;margin:6px}.media-dialog.immersive{position:fixed;inset:0;margin:0;width:100vw;height:100dvh;max-width:none;max-height:none;border:0;border-radius:0;background:#121016;color:#fff;display:flex;flex-direction:column}.immersive .viewer-heading,.immersive .viewer-toolbar{background:#1e1924;border-color:#332b3c;flex:none;padding:10px 16px}.immersive .viewer-heading h2{color:white;font-size:13px}.immersive #viewer-description,.immersive #viewer-download,.immersive .viewer-location,.immersive .viewer-faces{display:none!important}.immersive .viewer-canvas{flex:1;min-height:0}.immersive .media-stage{height:100%;max-height:none;background:#121016;padding:10px 54px}.immersive .viewer-image,.immersive .media-stage video{max-height:100%;max-width:100%;object-fit:contain}.immersive #media-status{color:#d4c7e1}.immersive .viewer-position{flex:none}.media-dialog:fullscreen{width:100%;height:100%;max-width:none;max-height:none}.viewer-heading>div:first-child{min-width:0}.viewer-heading h2{overflow-wrap:anywhere}#tv-dialog{line-height:1.7}#tv-dialog li{margin-bottom:10px}
@media(max-width:1050px){.timeline-caption{width:110px}.timeline-card{gap:12px;padding:14px}.timeline-photos button{flex-basis:105px;height:110px}.file-table-head,.list-mode .file-card{grid-template-columns:minmax(120px,1fr) 145px 75px 105px;gap:8px}}
@media(max-width:760px){.page-heading{align-items:flex-start}.heading-actions>summary{display:flex;font-size:12px;list-style:none;white-space:nowrap;min-height:38px;padding:9px 13px}.heading-actions:not([open])>.heading-actions-menu{display:none}.heading-actions-menu{position:absolute;right:0;top:calc(100% + 7px);width:200px;z-index:50;background:white;box-shadow:0 12px 35px #30224130;padding:8px;border-radius:13px;flex-direction:column;border:1px solid #e9e0f3}.heading-actions-menu .button{justify-content:flex-start;font-size:12px;min-height:42px}.gallery-heading h2{font-size:24px}.feature-gallery>label{padding:12px;gap:8px;flex-direction:column;align-items:stretch}.feature-gallery select{font-size:16px;max-width:100%}.collage-grid{grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:clamp(60px,17vw,110px);gap:4px;padding:6px;border-radius:13px}.timeline-day{grid-template-columns:54px 10px minmax(0,1fr);gap:7px;align-items:start}.timeline-cover button{width:54px;height:54px;border-width:3px}.timeline-node{width:12px;height:12px;margin-top:20px;border-width:2px}.timeline-list:before{left:66px;top:25px;bottom:25px}.timeline-card{display:block;padding:13px;border-radius:16px;border-right-width:4px}.timeline-caption{width:auto;margin-bottom:12px;display:grid;grid-template-columns:1fr auto;gap:6px}.timeline-day-number{font-size:22px}.timeline-caption strong{font-size:13px;grid-column:1/-1}.timeline-caption time{font-size:10px;align-self:center}.timeline-photos button{flex-basis:100px;height:100px}.viewer-heading{flex-wrap:wrap;gap:7px}.viewer-switches{margin-left:auto}.viewer-switches .button{font-size:10px;padding:7px}.immersive .viewer-heading{padding:8px}.immersive .media-stage{padding:8px 36px}.viewer-arrow{width:30px;height:36px;border-radius:9px;font-size:25px}.viewer-arrow.previous{left:2px}.viewer-arrow.next{right:2px}.file-table-head,.list-mode .file-card{grid-template-columns:minmax(90px,1fr) 95px 63px 32px;gap:5px;padding:12px 2px}.list-mode .file-visual{display:none}.list-mode .file-info{padding:0;max-width:100%}.list-mode .file-info strong{font-size:11px;white-space:normal;overflow-wrap:anywhere}.list-mode .list-date,.list-mode .list-size,.file-table-head{font-size:10px}.list-mode .file-actions>button{display:none}.list-mode .file-actions{margin:0}.list-mode .file-actions:has(>button:only-child),.list-mode .file-actions:has(>button:nth-child(2):last-child){display:flex;flex-wrap:wrap}.list-mode .file-actions:has(>button:nth-child(2):last-child)>button{display:block}.library-toolbar .view-controls{width:100%;justify-content:flex-end}#sort-items{max-width:175px;padding:7px;font-size:10px}}

.media-dialog:not([open]){display:none}.file-open{min-width:0}.viewer-canvas{touch-action:pan-y pinch-zoom}
@media(min-width:761px){.heading-actions::details-content{content-visibility:visible}}

.collage-grid{grid-template-columns:repeat(6,minmax(0,1fr))}.collage-grid button:nth-child(n){grid-column:span 1;grid-row:span 1}.collage-grid:not(.small-album) button:nth-child(12n+1),.collage-grid:not(.small-album) button:nth-child(12n+4),.collage-grid:not(.small-album) button:nth-child(12n+8),.collage-grid:not(.small-album) button:nth-child(12n+9){grid-column:span 2;grid-row:span 2}.collage-grid.small-album{grid-template-columns:repeat(var(--album-columns),minmax(0,1fr));grid-auto-rows:clamp(160px,20vw,280px)}
@media(max-width:760px){.collage-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.collage-grid.small-album{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:clamp(130px,35vw,230px)}}

body:has(dialog[open]){overflow:hidden}.media-dialog.immersive{width:100%;overflow:hidden}
@media(max-width:760px){.file-table-head,.list-mode .file-card{grid-template-columns:minmax(0,1fr) 85px 50px 30px}}

.selection-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px;background:#f0edff;border-radius:14px;padding:10px;margin:12px 0}.selection-actions strong{margin-right:auto}.select-file{display:flex;align-items:center;padding:0 3px}.select-file input{width:18px;height:18px;accent-color:var(--brand)}.file-card{position:relative}.file-grid:not(.list-mode) .select-file{position:absolute;z-index:2;top:12px;left:12px;background:white;border-radius:8px;padding:5px}.list-capture{display:none}.file-table-head,.list-mode .file-card{grid-template-columns:minmax(120px,1fr) 140px 140px 85px 90px!important}.list-mode .file-card{display:grid;align-items:center}.list-mode .file-card .select-file{position:absolute;left:-22px;top:50%;transform:translateY(-50%)}.list-mode .list-capture{display:block;color:#6c6575;font-size:12px}.list-mode .list-date,.list-mode .list-size{display:block}.list-mode .file-actions{justify-content:flex-end}
@media(max-width:760px){.file-table-head,.list-mode .file-card{grid-template-columns:minmax(75px,1fr) 66px 66px 39px 26px!important;gap:3px!important}.list-mode .file-card .select-file{left:-16px}.list-mode .list-capture,.list-mode .list-date,.list-mode .list-size{font-size:9px}.selection-actions .button{font-size:10px;padding:7px;min-height:32px}}

/* Visor de lectura: el diálogo ocupa toda la ventana y mantiene un fondo opaco. */
.media-dialog.immersive{position:fixed;inset:0!important;margin:0!important;width:100vw!important;height:100dvh!important;max-width:none!important;max-height:none!important;padding:0!important;border:0!important;border-radius:0!important;background:#111215!important;color:#fff!important;overflow:hidden!important;isolation:isolate}
.media-dialog.immersive::backdrop{background:#111215!important;backdrop-filter:none!important}
.immersive .viewer-heading{position:absolute;inset:0 0 auto;z-index:4;min-height:58px;padding:10px 20px;background:linear-gradient(#111215ee,#11121599)!important;border:0!important;gap:12px}
.immersive .viewer-heading h2{font-size:14px;color:#fff;margin:0;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.immersive .viewer-switches{gap:8px;flex:none}.immersive .viewer-switches .button{background:#ffffff18;color:#fff;border:1px solid #ffffff28;box-shadow:none}.immersive #viewer-fullscreen{display:none}.immersive #viewer-close{color:#fff;background:#ffffff18}
.immersive .viewer-toolbar{position:absolute;top:58px;left:0;right:0;z-index:4;min-height:48px;padding:5px 20px;background:#11121599!important;border:0!important;display:flex;justify-content:flex-end}
.immersive .viewer-toolbar label{color:#f3f3f3}.immersive .viewer-toolbar select{background:#26282c;color:white;border:1px solid #55585f;max-width:190px}.immersive #media-status{color:#dedee2;max-width:none;margin-right:auto}.immersive .viewer-canvas{flex:1;min-height:0;width:100%;height:100%;background:#111215}.immersive .media-stage{width:100%;height:100%;max-height:none!important;min-height:0;background:#111215;padding:110px 72px 42px;overflow:auto}.immersive .viewer-image,.immersive .media-stage video{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain}.immersive .media-stage video{max-width:100%;width:auto;border-radius:4px}.immersive .viewer-position{position:absolute;bottom:8px;left:50%;transform:translateX(-50%);z-index:3;color:#e4e4e7;background:#111215a8;border-radius:30px;padding:4px 11px;margin:0}.immersive #pdf-controls{position:absolute;bottom:32px;left:50%;transform:translateX(-50%);z-index:4}
.viewer-arrow{display:grid;place-items:center;padding:0;line-height:1;font-family:Arial,sans-serif;font-weight:300}.viewer-arrow span{display:block;line-height:1;transform:translateY(-2px)}.viewer-arrow.previous span{transform:translate(-1px,-2px)}.viewer-arrow.next span{transform:translate(1px,-2px)}.immersive .viewer-arrow{top:50%;width:48px;height:48px;border-radius:50%;background:#2b2c31c9;border:1px solid #ffffff8c;color:#fff;box-shadow:0 2px 12px #0006}.immersive .viewer-arrow.previous{left:14px}.immersive .viewer-arrow.next{right:14px}
.file-grid.list-mode{padding-left:34px}.file-table-head{margin-left:34px}.list-mode .file-card .select-file{left:-32px;top:50%;transform:translateY(-50%);width:28px;height:32px;justify-content:center}.list-mode .select-file input{margin:0}
.location-choice-marker{background:transparent;border:0}.location-choice-dot{display:block;position:relative;width:32px;height:32px;border:3px solid white;border-radius:50% 50% 50% 0;background:#6756df;box-shadow:0 3px 12px #1119;transform:rotate(-45deg)}.location-choice-dot:after{content:'';position:absolute;inset:8px;border-radius:50%;background:#fff}.selected-location-pin{position:relative;width:32px;height:32px;border:3px solid white;border-radius:50% 50% 50% 0;background:#6756df;box-shadow:0 3px 12px #1119;transform:rotate(-45deg)}.selected-location-pin:after{content:'';position:absolute;inset:8px;background:#fff;border-radius:50%}
@media(max-width:760px){.media-dialog.immersive{width:100vw!important;height:100dvh!important}.immersive .viewer-heading{padding:8px 12px;min-height:54px}.immersive .viewer-heading h2{font-size:12px}.immersive .viewer-switches{gap:4px}.immersive .viewer-switches .button{font-size:10px;padding:6px}.immersive .viewer-toolbar{top:54px;padding:5px 12px;min-height:45px}.immersive .media-stage{padding:102px 41px 38px}.immersive .viewer-arrow{width:36px;height:36px;font-size:27px}.immersive .viewer-arrow.previous{left:3px}.immersive .viewer-arrow.next{right:3px}.file-grid.list-mode{padding-left:27px}.file-table-head{margin-left:27px}.list-mode .file-card .select-file{left:-26px;width:24px}}

.immersive #media-status:not(.needs-attention){display:none!important}
@media(max-width:760px){.file-table-head,.list-mode .file-card{grid-template-columns:minmax(0,1fr) 74px 42px 30px!important;gap:4px!important}.file-table-head [data-sort-column="capture"]{display:none}.list-mode .list-capture{position:absolute;left:3px;top:calc(50% + 9px);font-size:9px;color:#90889b;white-space:nowrap}.list-mode .list-capture::before{content:'Captura: '}.list-mode .file-open{align-self:start;margin-top:10px;min-width:0}.list-mode .file-info{min-width:0}.list-mode .file-info strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.list-mode .file-card{min-height:76px}}

/* Las acciones seleccionadas viven en la cabecera y no cambian la altura de la lista. */
.heading-actions-menu{align-items:center}.selection-actions-menu{position:relative;flex:none}.selection-actions-menu[hidden]{display:block!important;visibility:hidden;pointer-events:none}.selection-actions-menu>summary{list-style:none;cursor:pointer;width:156px;justify-content:center;font-size:12px}.selection-actions-menu>summary::-webkit-details-marker{display:none}.selection-actions-menu[open]>summary{background:var(--lavender);color:var(--brand);border-color:#d5cbfb}.selection-actions-popover{position:absolute;right:0;top:calc(100% + 8px);z-index:70;min-width:215px;padding:7px;background:#fff;border:1px solid #e6e0f1;border-radius:13px;box-shadow:0 18px 44px #30224130;display:grid;gap:2px}.selection-actions-popover button{border:0;background:transparent;border-radius:8px;padding:10px 12px;text-align:left;color:var(--ink);font-size:12px;white-space:nowrap}.selection-actions-popover button:hover,.selection-actions-popover button:focus-visible{background:#f2efff;color:var(--brand)}.selection-actions-popover #selected-trash{color:#bc4058}.selection-actions-popover #selected-trash:hover{background:#fff1f3}.face-choice-list{max-height:38dvh;overflow:auto;display:grid;gap:6px;margin:12px 0}.face-choice{display:flex;align-items:center;gap:10px;padding:8px;border:1px solid #e9e4f3;border-radius:10px;cursor:pointer}.face-choice:has(input:checked){border-color:#ad9df0;background:#f5f2ff}.face-choice input{width:18px;height:18px;accent-color:var(--brand);flex:none}.face-choice img{width:48px;height:48px;object-fit:cover;border-radius:8px}.face-choice span{min-width:0}.face-choice strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.face-choice small{display:block;color:var(--muted);font-size:10px}.person-choice-label{display:block;margin-top:12px;font-size:11px;color:#8d7f9c}.person-choice-label .dialog-select,.person-choice-label .dialog-input{margin-top:5px}
@media(max-width:760px){.heading-actions-menu{align-items:stretch}.selection-actions-menu[hidden]{display:none!important}.selection-actions-menu>summary{width:100%;justify-content:flex-start}.selection-actions-popover{right:0;top:calc(100% + 4px);min-width:200px;max-width:calc(100vw - 24px)}}

.viewer-detail-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:7px}.viewer-detail-actions .button{margin:0}.viewer-location>span{min-width:0;overflow-wrap:anywhere}
@media(max-width:760px){.viewer-location{flex-wrap:wrap}.viewer-detail-actions{width:100%;justify-content:flex-start}.viewer-detail-actions .button{white-space:normal}}

/* El nombre ocupa una fila propia; las acciones secundarias viven en un menú. */
.viewer-heading{display:flex;flex-direction:column;align-items:stretch;gap:9px}.viewer-switches{width:100%;justify-content:flex-end;margin-left:0}.viewer-heading-copy{min-width:0;width:100%}.viewer-heading-copy h2{overflow-wrap:anywhere;word-break:break-word}.viewer-more{position:relative;flex:none}.viewer-more>summary{list-style:none;cursor:pointer}.viewer-more>summary::-webkit-details-marker{display:none}.viewer-more[open]>summary{background:var(--lavender);color:var(--brand)}.viewer-more-menu{position:absolute;right:0;top:calc(100% + 7px);z-index:25;min-width:185px;padding:6px;border:1px solid #e6e0f1;border-radius:12px;background:#fff;box-shadow:0 16px 38px #231a3a38;display:grid;gap:2px}.viewer-more-menu button,.viewer-more-menu a{display:block;width:100%;border:0;border-radius:7px;background:transparent;padding:10px 12px;text-align:left;color:var(--ink);font-size:12px;white-space:nowrap}.viewer-more-menu button:hover,.viewer-more-menu a:hover{background:#f2efff;color:var(--brand);text-decoration:none}.item-menu-options a{display:flex;align-items:center;gap:10px;text-align:left;width:100%;min-height:38px;border:0;border-radius:7px;padding:8px 10px;font-size:11px;color:#70647f}.item-menu-options a:hover{background:#f5f1fd;color:var(--brand);text-decoration:none}.item-menu-options a svg{width:16px;height:16px}#default-image-quality{width:min(230px,100%);flex:none;border:1px solid #dcd7eb;background:#fff;border-radius:10px;padding:10px 12px;color:#514567;font-size:12px}
.immersive .viewer-heading{height:82px;min-height:82px;gap:5px;padding:8px 20px!important}.immersive .viewer-heading-copy h2{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.immersive .viewer-toolbar{top:82px}.immersive .media-stage{padding-top:132px}.immersive .viewer-more-menu{background:#24262b;border-color:#484a52}.immersive .viewer-more-menu button,.immersive .viewer-more-menu a{color:#fff}.immersive .viewer-more-menu button:hover,.immersive .viewer-more-menu a:hover{background:#ffffff20}.immersive .viewer-more-menu #viewer-download{display:block!important}.immersive .viewer-more[open]>summary{background:#ffffff25;color:#fff}
.item-menu-options{position:absolute;right:0;left:auto;top:auto;bottom:calc(100% + 4px)}.immersive .viewer-more>summary{color:#fff;background:#ffffff18}
.password-field{display:flex;align-items:center;position:relative}.password-field input{padding-right:78px!important}.password-field button{position:absolute;right:7px;border:0;background:transparent;color:var(--brand);font-size:12px;font-weight:650;padding:8px;border-radius:7px}.password-field button:hover{background:var(--lavender)}.auth-notice{background:#edfaef;border:1px solid #bfebc5;color:#265e35;border-radius:9px;padding:11px 13px;font-size:12px;margin:14px 0}.auth-form-wrap .auth-switch+.auth-switch{margin-top:10px}
.recovery-settings-form{max-width:440px}.recovery-settings-form .button{align-self:flex-start}.auth-form select.dialog-select{width:100%;min-height:47px;font-size:13px}
@media(max-width:760px){.viewer-heading{gap:6px;padding:12px 14px}.viewer-switches{justify-content:flex-end;flex-wrap:nowrap}.viewer-heading-copy h2{font-size:13px}.viewer-heading-copy p{overflow-wrap:anywhere}.immersive .viewer-heading{height:74px;min-height:74px;padding:6px 12px!important}.immersive .viewer-toolbar{top:74px}.immersive .media-stage{padding-top:120px}.settings-row:has(#default-image-quality){flex-wrap:wrap}#default-image-quality{width:100%}}
.admin-active-label{display:flex;align-items:center;gap:7px;width:auto!important;white-space:nowrap;color:var(--ink)!important}.admin-active-label input{width:18px;height:18px;margin:0;accent-color:var(--brand)}.person-card [data-ignore-person]{margin-top:6px;color:#a33b50;border-color:#f1d9df}

/* Subidas y selección de personas. */
.upload-reopen{position:fixed;right:20px;bottom:20px;z-index:45;box-shadow:0 8px 28px #251b5440;font-size:12px}.people-selection{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:12px 16px;margin:12px 0;border:1px solid #ded8f2;border-radius:13px;background:#f6f3ff}.people-selection strong{margin-right:auto}.person-card{position:relative}.person-select{display:flex;align-items:center;gap:7px;font-size:11px;color:var(--muted);padding:8px 10px}.person-select input{accent-color:var(--brand);width:18px;height:18px}.dialog-field{display:block;margin:12px 0;color:var(--muted);font-size:12px}.dialog-field .dialog-select,.dialog-field .dialog-input{display:block;width:100%;margin-top:5px}
/* El visor fotográfico deja el lienzo libre y superpone los controles. */
.media-dialog.photo-viewer.immersive{background:#000!important}.photo-viewer.immersive::backdrop{background:#000!important}.photo-viewer.immersive .viewer-heading{height:auto!important;min-height:0!important;padding:10px 16px!important;background:linear-gradient(#0009,transparent)!important;pointer-events:none}.photo-viewer.immersive .viewer-switches{width:100%;display:flex;justify-content:flex-end;pointer-events:auto}.photo-viewer.immersive #viewer-close{order:-1;margin-right:auto;background:transparent;font-size:0}.photo-viewer.immersive #viewer-close:before{content:'←';font-size:30px;line-height:1}.photo-viewer.immersive #viewer-close svg{display:none}.photo-viewer.immersive .viewer-heading-copy{display:none!important}.photo-viewer.immersive .viewer-toolbar{top:59px!important;right:12px;left:auto;min-height:0;padding:4px 6px!important;background:#0008!important;border-radius:9px}.photo-viewer.immersive .viewer-toolbar label{font-size:0}.photo-viewer.immersive .viewer-toolbar select{font-size:11px;max-width:145px}.photo-viewer.immersive .viewer-canvas,.photo-viewer.immersive .media-stage{background:#000!important}.photo-viewer.immersive .media-stage{padding:0!important;overflow:hidden}.photo-viewer.immersive .viewer-image,.photo-viewer.immersive .media-stage video{max-width:100vw!important;max-height:100dvh!important;width:auto;height:auto;border-radius:0}.photo-viewer.immersive .viewer-position{display:none}.photo-viewer.immersive .viewer-arrow{background:#0008;border:0;box-shadow:none;opacity:.65}.photo-viewer.immersive .viewer-arrow:hover{opacity:1}.photo-viewer.immersive #viewer-mode{background:#0007;border-color:#ffffff55}.photo-viewer.immersive .viewer-more>summary{color:#fff;background:#0007}
@media(max-width:760px){.upload-reopen{right:12px;bottom:12px;max-width:calc(100vw - 24px)}.people-selection .button{font-size:10px;min-height:36px;padding:7px 10px}.photo-viewer.immersive .viewer-heading{padding:8px 10px!important}.photo-viewer.immersive .viewer-toolbar{top:52px!important;right:8px}.photo-viewer.immersive #viewer-mode{font-size:10px}.photo-viewer.immersive .viewer-arrow{width:32px;height:44px}.photo-viewer.immersive .viewer-arrow.previous{left:0}.photo-viewer.immersive .viewer-arrow.next{right:0}}

.upload-panel-controls{display:flex;align-items:center;gap:2px}.upload-panel-controls .icon-button{width:30px;height:30px}.upload-panel-controls svg{width:17px;height:17px}.viewer-more-menu #quality-label:not([hidden]){display:block;padding:8px 10px;color:var(--muted);font-size:11px;white-space:normal}.viewer-more-menu #media-quality{display:block;width:100%;margin-top:6px;padding:8px;border:1px solid #ddd7e8;border-radius:7px;background:#fff;color:var(--ink);font-size:12px}.viewer-more-menu{min-width:215px}.photo-viewer.immersive .viewer-more-menu #quality-label{color:#d9d9de}.photo-viewer.immersive .viewer-more-menu #media-quality{background:#33363b;color:#fff;border-color:#686a70}.photo-viewer.immersive #viewer-mode{background:transparent;border:0;color:#fff}.photo-viewer.immersive .viewer-toolbar:not(:has(.needs-attention)){display:none!important}
@media(hover:hover){.photo-viewer.immersive .viewer-arrow:not(:disabled){opacity:0;pointer-events:none;transition:opacity .18s ease}.photo-viewer.immersive .viewer-canvas:hover .viewer-arrow:not(:disabled),.photo-viewer.immersive .viewer-arrow:focus-visible{opacity:.85;pointer-events:auto}}
@media(hover:none){.photo-viewer.immersive .viewer-arrow{opacity:0!important;pointer-events:none}}

/* Organizador de archivos */
.organizer{position:relative;max-width:1240px;margin:auto;padding:clamp(14px,2vw,28px);background:linear-gradient(155deg,#fff,#f8f7ff 80%);border:1px solid #ebe7f4;border-radius:22px;box-shadow:0 12px 45px #2a21570a}.organizer-setup{display:flex;align-items:end;gap:12px;flex-wrap:wrap}.organizer-setup>label{display:grid;gap:6px;min-width:220px;flex:1;color:#716985;font-size:11px;font-weight:700}.organizer-setup select{width:100%;min-height:42px;padding:8px 12px;border:1px solid #dcd7ea;border-radius:10px;background:#fff;color:#373147;font-size:13px}.organizer-filter{position:relative}.organizer-filter>summary{list-style:none;min-height:42px}.organizer-filter>summary::-webkit-details-marker{display:none}.organizer-filter-menu{position:absolute;top:calc(100% + 6px);right:0;width:min(360px,calc(100vw - 35px));max-height:340px;overflow:auto;z-index:15;padding:10px;background:#fff;border:1px solid #e1dcec;border-radius:13px;box-shadow:0 15px 40px #271e4729}.organizer-filter-actions{display:flex;gap:8px;position:sticky;top:-10px;background:#fff;padding:4px 2px 9px}.organizer-filter-actions button{border:0;background:#f0ecff;color:#5c4ad2;padding:7px 10px;border-radius:8px;font-size:11px;font-weight:700}.organizer-filter-menu label{display:flex;align-items:center;gap:8px;padding:7px 5px;font-size:12px;color:#514b5f;overflow-wrap:anywhere}.organizer-filter-menu input{width:17px;height:17px;accent-color:var(--brand);flex:none}.organizer-modes{display:flex;gap:5px;background:#f1eefa;padding:4px;border-radius:11px}.organizer-modes .button{min-height:34px;padding:6px 11px;font-size:11px;border:0;background:transparent}.organizer-modes .button[aria-pressed=true]{background:#fff;color:var(--brand);box-shadow:0 2px 9px #24174e1a}.organizer-progress{display:grid;grid-template-columns:1fr auto;gap:8px;margin:20px 0 15px;color:#332d48}.organizer-progress strong{font-size:15px}.organizer-progress span{font-size:11px;color:#8a829b}.organizer-progress progress{grid-column:1/-1;width:100%;height:7px;accent-color:var(--brand)}.organizer-gallery-head{display:flex;align-items:center;gap:8px;margin-bottom:11px;flex-wrap:wrap}.organizer-gallery-head span{margin-right:auto;font-size:12px;color:#676078;font-weight:700}.organizer-gallery-head .button{min-height:34px;padding:6px 10px;font-size:11px}.organizer-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));grid-auto-rows:145px;gap:9px;max-height:calc(145px * 3 + 18px);overflow-y:auto;overscroll-behavior:contain;padding:2px 3px 6px}.organizer-tile{position:relative;min-width:0;border-radius:12px;border:2px solid transparent;background:#ebe8f3;overflow:hidden}.organizer-tile.selected{border-color:#6756df;box-shadow:0 0 0 2px #c5bbff}.organizer-tile>button{display:block;width:100%;height:100%;border:0;padding:0;background:#ece9f3;color:#534c68;text-align:center}.organizer-tile>button>img{width:100%;height:100%;object-fit:cover}.organizer-tile-check{position:absolute;top:5px;right:5px;z-index:2;display:grid;place-items:center;width:28px;height:28px;border-radius:8px;background:#ffffffd9;box-shadow:0 2px 8px #0003}.organizer-tile-check input{width:18px;height:18px;accent-color:var(--brand);cursor:pointer}.organizer-tile-name{position:absolute;left:0;right:0;bottom:0;padding:17px 7px 6px;background:linear-gradient(transparent,#171229b8);color:#fff;font-size:10px;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.organizer-file-icon{display:grid;place-items:center;width:100%;height:100%;font-weight:800;color:#8b78c7;font-size:24px}.organizer-tile .organizer-file-icon{font-size:20px}.organizer-quick-head,.organizer-quick-nav{display:flex;align-items:center;gap:8px}.organizer-quick-head{margin-bottom:9px}.organizer-quick-head span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:700}.organizer-quick-head .button,.organizer-quick-nav .button{min-height:35px;padding:6px 10px;font-size:11px}.organizer-quick-stage{position:relative;display:flex;align-items:center;justify-content:center;height:clamp(320px,48dvh,600px);overflow:hidden;border-radius:15px;background:#14131b;color:#d8d2e5;touch-action:pan-y}.organizer-quick-stage img,.organizer-quick-stage video{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain}.organizer-quick-stage img{transition:transform .2s ease}.organizer-quick-stage.zoomed img{transform:scale(2)}.organizer-quick-stage .organizer-file-icon{width:auto;height:auto;padding:30px;font-size:48px}.organizer-quick-name{position:absolute;bottom:0;left:0;right:0;padding:20px 12px 8px;background:linear-gradient(transparent,#000b);color:#fff;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;pointer-events:none}.organizer-quick-nav{justify-content:space-between;margin:9px 0 0}.organizer-sheet{position:sticky;bottom:0;z-index:10;display:flex;flex-direction:column;height:185px;margin-top:18px;border:1px solid #dad5eb;border-radius:18px 18px 0 0;background:#fff;box-shadow:0 -10px 38px #2314491c;overflow:hidden;transition:height .2s ease}.organizer-sheet.expanded{height:min(47dvh,440px)}.organizer-sheet-handle{position:relative;display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;min-height:48px;padding:15px 18px 6px;border:0;background:#fff;color:#302a44;text-align:left}.organizer-sheet-handle strong{font-size:12px}.organizer-sheet-handle>span:last-child{color:#9289a2;font-size:10px}.organizer-grip{position:absolute;top:5px;left:50%;transform:translateX(-50%);width:36px;height:4px;border-radius:5px;background:#c9c1d8}.organizer-sheet>input{margin:0 13px 9px;padding:8px 10px;min-height:35px;border:1px solid #e3dfed;border-radius:9px;font-size:12px}.organizer-folder-list{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));align-content:start;gap:8px;overflow-y:auto;padding:0 13px 12px;overscroll-behavior:contain}.organizer-destination{display:flex;align-items:center;gap:7px;min-width:0;min-height:65px;padding:8px;border:1px solid #e4e0ef;border-radius:10px;background:#faf9ff;color:#433b57;text-align:left}.organizer-destination>span{font-size:21px}.organizer-destination strong{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.organizer-destination small{display:none}.organizer-destination:hover,.organizer-destination:focus-visible{border-color:#7867ec;background:#f0ecff}.organizer-empty{margin:20px 0;color:#8b829c;text-align:center;font-size:12px}
@media(max-width:850px){.organizer-grid{grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:120px;max-height:calc(120px * 3 + 18px)}.organizer-folder-list{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.organizer{padding:12px;border-radius:16px}.organizer-setup>label{width:100%;flex:auto}.organizer-filter{flex:1}.organizer-filter>summary{width:100%;font-size:10px;padding:8px}.organizer-modes{width:100%}.organizer-modes .button{flex:1}.organizer-progress{margin:14px 0 12px}.organizer-progress strong{font-size:13px}.organizer-grid{grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:clamp(86px,26vw,122px);max-height:calc(clamp(86px,26vw,122px) * 3 + 18px);gap:5px}.organizer-tile-name{font-size:9px;padding:14px 4px 4px}.organizer-gallery-head .button{font-size:10px}.organizer-quick-stage{height:clamp(260px,43dvh,520px)}.organizer-quick-head{flex-wrap:wrap}.organizer-quick-head span{width:100%;flex:auto}.organizer-quick-head .button{flex:1}.organizer-sheet{height:192px;margin-top:14px}.organizer-sheet.expanded{height:min(52dvh,440px)}.organizer-folder-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.organizer-destination{display:block;min-height:60px;padding:5px;text-align:center}.organizer-destination>span{display:block;font-size:19px}.organizer-destination strong{display:block;font-size:10px}.organizer-sheet-handle>span:last-child{font-size:9px}}
.organizer-trash{color:#b33d54!important;border-color:#f0d3da!important;background:#fff8f9!important}.organizer-trash:hover{background:#ffeef1!important}.organizer-trash svg{width:16px;height:16px}.organizer-quick-nav .organizer-trash{margin-left:auto}
@media(max-width:760px){.organizer-quick-nav{flex-wrap:wrap}.organizer-quick-nav .organizer-trash{margin-left:0;flex:1 0 100%}}

/* Destinos en dos filas, siempre debajo del contenido del Organizador. */
.organizer{display:flex;flex-direction:column}.organizer-sheet,.organizer-sheet.expanded{position:static;height:auto;min-height:0;flex:none;margin-top:18px;padding:13px;border-radius:17px;overflow:visible;box-shadow:0 6px 25px #23144910}.organizer-sheet-heading{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin:0 2px 12px}.organizer-sheet-heading strong{font-size:13px;color:#332d48}.organizer-sheet-heading small{font-size:10px;color:#9a91aa}.organizer-folder-list{grid-template-columns:repeat(5,minmax(0,1fr));grid-auto-rows:78px;gap:8px;overflow:visible;padding:0}.organizer-destination{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:0;height:100%;padding:6px;border:1px solid #ded9ed;border-radius:11px;background:#faf9ff;text-align:center}.organizer-destination svg{width:29px;height:29px;flex:none}.organizer-destination strong{display:block;max-width:100%;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.organizer-more-card>span{display:block;font-size:24px;line-height:1;color:#6756df;letter-spacing:3px}.organizer-more-dialog{width:min(640px,calc(100vw - 24px));max-height:min(80dvh,720px)}.organizer-more-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:78px;gap:8px;max-height:60dvh;overflow-y:auto;padding:2px 4px 4px}.organizer-quick-head{justify-content:space-between;margin-bottom:10px}.organizer-quick-head strong{font-size:15px;color:#332d48}.organizer-quick-head span{flex:none;width:auto;font-size:12px;color:#746b88;font-weight:700}.organizer-quick-stage{height:clamp(320px,51dvh,640px);border-radius:14px}.organizer-quick-media{display:flex;align-items:center;justify-content:center;width:100%;height:100%;cursor:zoom-in;outline-offset:-4px}.organizer-quick-media img,.organizer-quick-media video{max-width:100%;max-height:100%;object-fit:contain}.organizer-quick-media video{cursor:auto}.organizer-quick-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:2;display:grid;place-items:center;width:42px;height:42px;padding:0;border:1px solid #d9d7e0;border-radius:50%;background:#fffffff0;color:#332d48;font-size:31px;line-height:1;box-shadow:0 3px 15px #0004}.organizer-quick-arrow.previous{left:12px}.organizer-quick-arrow.next{right:12px}.organizer-quick-arrow:disabled{opacity:.35}.organizer-quick-actions{display:flex;justify-content:flex-end;margin-top:9px}.organizer-quick-actions .button{min-height:35px;padding:7px 12px;font-size:11px}.organizer:has(#organizer-quick:not([hidden])) .organizer-progress{margin:8px 0 14px}.organizer:has(#organizer-quick:not([hidden])) .organizer-progress strong,.organizer:has(#organizer-quick:not([hidden])) .organizer-progress span{display:none}
@media(max-width:850px){.organizer-folder-list{grid-template-columns:repeat(3,minmax(0,1fr))}.organizer-more-list{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.organizer-sheet,.organizer-sheet.expanded{margin-top:14px;padding:10px}.organizer-sheet-heading small{display:none}.organizer-folder-list{grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:74px;gap:6px}.organizer-destination{min-height:0;height:100%;padding:5px}.organizer-destination svg{width:27px;height:27px}.organizer-destination strong{font-size:10px}.organizer-quick-head strong{font-size:13px}.organizer-quick-stage{height:clamp(260px,46dvh,540px)}.organizer-quick-arrow{width:38px;height:38px;font-size:29px}.organizer-quick-arrow.previous{left:7px}.organizer-quick-arrow.next{right:7px}.organizer-more-list{grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:74px}}
.upload-entry-head>span{min-width:0;flex:1}
.upload-entry-actions{display:flex;align-items:center;gap:1px;flex:none}
.upload-entry-actions .icon-button{width:29px;height:29px}
.upload-entry-actions svg{width:17px;height:17px}
