:root{--bg:#fafbfd;--surface:#fff;--ink:#243046;--muted:#7b8799;--line:#edf0f5;--blue:#4279f4;--blue2:#edf3ff;--shadow:0 10px 32px #2e40580d;--radius:16px;font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-height:100vh}button,input,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.55;cursor:not-allowed}a{text-decoration:none;color:inherit}.hidden{display:none!important}svg{display:inline-block;vertical-align:middle}button svg{width:19px;height:19px;stroke:currentColor;fill:none;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}.shell{min-height:100vh;display:flex}.sidebar{background:#fff;width:255px;min-width:255px;height:100vh;position:sticky;top:0;border-right:1px solid var(--line);padding:33px 18px 18px;display:flex;flex-direction:column;z-index:10}.brand{font-weight:750;font-size:20px;letter-spacing:-.95px;display:flex;align-items:center;gap:9px;color:#243046;white-space:nowrap;padding:0 12px}.brand-logo{width:35px;height:35px;background:#f6f9ff;border-radius:12px;display:flex;align-items:center;justify-content:center}.brand-accent{font-weight:400;color:#687893}.button{border:0;min-height:42px;border-radius:10px;padding:0 17px;display:inline-flex;align-items:center;justify-content:center;gap:9px;font-size:13px;font-weight:650;transition:background .18s,transform .18s;white-space:nowrap}.button:active{transform:scale(.98)}.button-primary{color:#fff;background:var(--blue);box-shadow:0 5px 14px #4279f426}.button-primary:hover{background:#3269e4}.button-soft{background:#fff;border:1px solid #e6eaf1;color:#526079}.button-soft:hover{background:#f4f7fd}.button svg{width:17px;height:17px}.sidebar-upload{margin:43px 9px 33px;min-height:47px;justify-content:center}.nav-caption{display:flex;align-items:center;justify-content:space-between;font-size:10px;font-weight:800;letter-spacing:1.45px;color:#a1aabd;padding:0 17px;margin-bottom:12px}.nav-list{display:flex;flex-direction:column;gap:4px}.nav-item{border:0;background:transparent;color:#758195;display:flex;align-items:center;text-align:left;gap:12px;padding:13px 16px;border-radius:10px;width:100%;font-size:13px;font-weight:560}.nav-item svg{width:19px;height:19px}.nav-item:hover{background:#f5f8ff;color:#4c607c}.nav-item.active{background:var(--blue2);color:#346bea;font-weight:710}.album-caption{margin-top:35px;margin-bottom:9px}.caption-plus{width:25px;height:25px;display:grid;place-items:center;border:0;border-radius:6px;color:#8996ac;background:#f4f6f9}.caption-plus:hover{color:var(--blue)}.caption-plus svg{width:15px;height:15px}.album-nav{overflow-y:auto;min-height:30px;max-height:calc(100vh - 510px)}.sidebar-bottom{margin-top:auto;padding-top:25px}.storage-card{border:1px solid #e9edf5;border-radius:13px;padding:16px 13px;display:flex;gap:11px;align-items:center;margin:0 5px 18px;background:#fcfdff}.storage-card>svg{width:22px;height:22px;stroke:#6685c3}.storage-card strong{font-size:12px}.storage-card p{margin:5px 0 0;color:#98a2b2;font-size:11px}.logout{color:#8c94a5}.sidebar-footer{font-size:10px;text-align:center;color:#afb7c4;margin-top:15px}.main{flex:1;min-width:0}.topbar{height:90px;padding:0 46px;border-bottom:1px solid #edf0f5;display:flex;align-items:center;justify-content:space-between;background:rgba(255,255,255,.82);gap:25px}.search-box{width:min(510px,100%);max-width:50vw;height:44px;display:flex;align-items:center;gap:11px;background:#f5f7fb;border:1px solid #f2f4f8;border-radius:11px;padding:0 15px;color:#96a0b0}.search-box>svg{width:18px;height:18px}.search-box input{border:0;background:transparent;color:#3c495d;min-width:0;outline:none;flex:1;font-size:13px}.search-box input::placeholder{color:#a5afbd}.search-box kbd{font-size:11px;color:#9ca6b5;background:white;padding:2px 6px;border-radius:4px;border:1px solid #e9edf2}.top-actions{display:flex;align-items:center;gap:12px}.top-status{font-size:12px;color:#6d7b90;white-space:nowrap;margin-right:11px}.online-dot{height:8px;width:8px;background:#43c58d;border-radius:50%;box-shadow:0 0 0 3px #e7f8ef}.avatar{height:36px;width:36px;display:grid;place-items:center;border-radius:50%;margin-left:3px;background:#e9effd;color:#4b78d5;border:1px solid #dfe8fc;font-size:12px;font-weight:800}.content{max-width:1700px;margin:auto;padding:44px 50px 100px}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:39px}.eyebrow{font-weight:800;letter-spacing:1.75px;color:#4c83f6;font-size:10px;margin-bottom:13px}.page-heading h1{font-size:30px;line-height:1.2;margin:0;letter-spacing:-.9px;font-weight:760}.page-heading p{margin:11px 0 0;font-size:13px;color:#99a2b1}.heading-actions{display:flex;gap:8px}.heading-actions .button{min-height:38px}.gallery{min-height:100px}.date-group{margin-bottom:36px}.date-heading{font-size:14px;color:#455367;font-weight:710;margin:0 0 16px;display:flex;align-items:center;gap:10px}.date-heading small{font-size:11px;font-weight:500;color:#a1abb9}.photo-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:12px}.tile{border:0;padding:0;position:relative;display:block;min-width:0;background:#f0f3f8;aspect-ratio:1 / .98;border-radius:12px;overflow:hidden;text-align:left;transition:transform .18s,box-shadow .18s;outline:none}.tile:hover{box-shadow:0 10px 25px #40516c26;transform:translateY(-2px)}.tile img{display:block;width:100%;height:100%;object-fit:cover}.tile-hover{position:absolute;inset:auto 0 0;padding:20px 11px 11px;background:linear-gradient(transparent,#16253b9a);color:#fff;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;opacity:0;transition:opacity .15s}.tile:hover .tile-hover{opacity:1}.tile .favorite-badge{position:absolute;right:10px;top:10px;color:white;filter:drop-shadow(0 2px 4px #1119)}.tile .favorite-badge svg{fill:#fff;stroke:#fff;width:15px}.tile .video-badge{position:absolute;left:10px;bottom:10px;border-radius:20px;background:#1c293cba;display:flex;align-items:center;gap:4px;color:#fff;padding:5px 8px;font-size:10px}.tile .video-badge svg{height:12px;width:12px}.selection-tick{position:absolute;left:10px;top:10px;background:#ffffffd9;border:2px solid #ffffffb8;width:22px;height:22px;border-radius:50%;display:grid;place-items:center;opacity:0;color:#fff}.tile:hover .selection-tick,.selecting .selection-tick{opacity:1}.selected .selection-tick{opacity:1;background:var(--blue);border-color:#fff}.selected .selection-tick svg{width:14px;height:14px}.tile.selected{outline:3px solid #4780f7;outline-offset:1px}.placeholder-tile{display:grid;place-items:center;background:linear-gradient(135deg,#eef5fe,#e7eefa)}.placeholder-tile svg{width:38px;height:38px;stroke:#91a8d0}.file-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:15px}.file-card{border:1px solid #e9eef6;background:white;min-height:198px;border-radius:14px;overflow:hidden;position:relative;text-align:left;padding:0;display:flex;flex-direction:column;transition:box-shadow .2s,transform .2s}.file-card:hover{box-shadow:var(--shadow);transform:translateY(-2px)}.file-card.selected{outline:3px solid var(--blue)}.file-preview{height:137px;display:grid;place-items:center;background:#f7f9fd;overflow:hidden;position:relative}.file-preview img{height:100%;width:100%;object-fit:cover}.file-preview>.file-icon{border-radius:14px;display:grid;place-items:center;height:70px;width:70px;background:#eaf0fc;color:#6f94ce}.file-preview>.file-icon svg{height:33px;width:33px}.file-info{padding:12px 13px 13px}.file-info strong{display:block;font-size:12px;font-weight:650;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.file-info span{display:block;font-size:11px;color:#a2acbc;margin-top:5px}.file-card .selection-tick{top:9px;left:9px}.empty-state{max-width:570px;display:flex;flex-direction:column;align-items:center;text-align:center;margin:70px auto 0;border:1px dashed #dfe7f5;border-radius:20px;padding:48px 20px;background:radial-gradient(ellipse at 30% 0%,#eef4ff,transparent 65%),#fff}.empty-icon{height:106px;width:127px;display:grid;place-items:center;background:#edf4ff;border-radius:30px;transform:rotate(-5deg);margin-bottom:25px;color:#5685ea;box-shadow:15px 16px 0 #f5f8ff}.empty-icon svg{height:48px;width:48px;stroke-width:1.4}.empty-state h2{font-size:24px;letter-spacing:-.6px;margin:0 0 9px}.empty-state p{line-height:1.7;color:#94a0b0;font-size:13px;margin:0 0 23px;max-width:340px}.more-wrap{text-align:center;padding:30px}.album-section{margin-bottom:35px}.section-title{font-size:15px;font-weight:750;margin:0 0 15px}.album-tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(175px,1fr));gap:15px}.album-card{padding:0;border:1px solid var(--line);background:#fff;overflow:hidden;border-radius:14px;text-align:left}.album-card:hover{box-shadow:var(--shadow)}.album-cover{height:135px;background:linear-gradient(135deg,#eef2fe,#e3eeff);display:grid;place-items:center}.album-cover img{height:100%;width:100%;object-fit:cover}.album-cover svg{height:36px;width:36px;stroke:#8ca8dc}.album-title{display:block;padding:12px 13px 0;font-weight:680;font-size:12px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.album-count{display:block;padding:4px 13px 14px;color:#a0aabd;font-size:11px}.bottom-nav{display:none}.overlay{position:fixed;inset:0;z-index:100;background:#071120ec;color:#fff}.viewer-backdrop{position:absolute;inset:0}.viewer-frame{height:100%;position:relative;display:flex;flex-direction:column}.viewer-toolbar{height:74px;display:flex;align-items:center;gap:18px;padding:0 30px;border-bottom:1px solid #ffffff1b}.viewer-filename{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;font-size:14px;font-weight:560}.viewer-tools{margin-left:auto;display:flex;gap:8px}.round-button{border:0;background:#ffffff18;color:white;height:39px;width:39px;display:grid;place-items:center;border-radius:50%}.round-button:hover{background:#ffffff2c}.round-button.favorited svg{fill:#fff}.viewer-body{position:relative;display:flex;align-items:center;justify-content:center;flex:1;min-height:0;padding:20px 75px}.viewer-content{max-height:100%;max-width:100%;display:flex;align-items:center;justify-content:center}.viewer-content img,.viewer-content video{max-height:calc(100vh - 165px);max-width:100%;object-fit:contain;border-radius:4px}.viewer-content video{width:min(980px,90vw)}.viewer-arrow{position:absolute;top:50%;transform:translateY(-50%);width:39px;height:52px;border:0;background:#ffffff19;color:#fff;border-radius:9px;font-size:30px}.viewer-prev{left:18px}.viewer-next{right:18px}.viewer-arrow:disabled{opacity:.18}.viewer-info{height:61px;border-top:1px solid #ffffff16;display:flex;justify-content:center;align-items:center;color:#b5c0d0;gap:22px;font-size:12px}.viewer-document{display:flex;flex-direction:column;align-items:center;gap:18px}.viewer-document svg{width:72px;height:72px;stroke:#b2c2df}.viewer-document h3{font-size:17px;max-width:70vw;overflow-wrap:anywhere}.viewer-document p{font-size:13px;color:#a4b3c8}.modal-backdrop{position:fixed;inset:0;background:#1320399e;z-index:110;display:flex;align-items:center;justify-content:center;padding:20px;backdrop-filter:blur(3px)}.modal{background:white;border-radius:20px;box-shadow:0 30px 90px #17234056;padding:27px;width:min(100%,530px);max-height:92vh;overflow-y:auto}.modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;margin-bottom:24px}.modal-head h2{font-size:21px;letter-spacing:-.5px;margin:0 0 8px}.modal-head p{font-size:12px;color:#98a4b5;margin:0}.icon-button{border:0;background:transparent;display:grid;place-items:center;color:#8b99ac;border-radius:9px;width:34px;height:34px}.icon-button:hover{background:#f4f6fb}.dropzone{border:2px dashed #ccdafa;border-radius:17px;background:#f8faff;min-height:215px;display:flex;align-items:center;flex-direction:column;justify-content:center;gap:9px;outline:0;cursor:pointer;padding:26px}.dropzone.dragging{background:#e7f0ff;border-color:var(--blue)}.drop-illustration{height:54px;width:54px;border-radius:16px;background:#e9f1ff;display:grid;place-items:center;color:#477bf1;margin-bottom:3px}.drop-illustration svg{width:29px;height:29px}.dropzone strong{font-size:14px}.dropzone p{margin:0;color:#a0aabd;font-size:11px;text-align:center}.dropzone .button{margin-top:8px}.upload-details{margin-top:22px}.upload-details label,.small-modal label{display:block;font-size:12px;font-weight:680;color:#58657a;margin-bottom:8px}.file-summary{font-size:12px;color:#64758f;line-height:1.6;margin-bottom:14px;max-height:56px;overflow:auto}.upload-details select,.small-modal input{width:100%;border:1px solid #e3e8f2;border-radius:10px;background:white;padding:12px;outline:none;color:#3d4d67}.small-modal input:focus,.upload-details select:focus{border-color:var(--blue)}.progress-track{margin-top:15px;height:6px;border-radius:10px;background:#eaf0fa;overflow:hidden}.progress-track div{height:100%;background:var(--blue);border-radius:10px;width:0;transition:width .2s}.progress-caption{margin-top:5px;font-size:11px;color:#8c9aab}.modal-foot{margin-top:25px;display:flex;align-items:center;justify-content:flex-end;gap:10px}.small-modal{width:min(100%,430px)}.album-choices{max-height:340px;overflow-y:auto;display:flex;flex-direction:column;gap:7px}.album-choice{background:#f8faff;border:1px solid #ebf0f9;padding:13px 15px;text-align:left;display:flex;align-items:center;gap:9px;border-radius:10px;color:#51627c;font-size:13px}.album-choice svg{width:19px;height:19px}.album-choice:hover{border-color:#a8bff7;background:#eff4ff}.selection-bar{position:fixed;z-index:60;bottom:30px;left:50%;transform:translateX(-50%);background:#243349;color:white;border-radius:15px;min-height:58px;display:flex;align-items:center;gap:24px;padding:9px 13px 9px 20px;box-shadow:0 12px 35px #15253b65;white-space:nowrap}.selection-count{display:flex;align-items:center;gap:10px;font-size:12px}.selection-count svg{height:19px;width:19px}.selection-actions{display:flex;align-items:center;gap:5px}.selection-actions button{border:0;background:transparent;color:#d6e1f3;padding:8px 10px;display:flex;align-items:center;gap:6px;border-radius:8px;font-size:11px}.selection-actions button:hover{background:#ffffff21}.selection-actions svg{height:16px;width:16px}.toast-box{position:fixed;right:25px;bottom:25px;z-index:200;display:flex;flex-direction:column;gap:9px}.toast{min-width:240px;max-width:400px;padding:13px 17px;background:#223149;color:white;border-radius:11px;font-size:12px;box-shadow:var(--shadow);line-height:1.5;animation:appear .2s}.toast.error{background:#b83e55}@keyframes appear{from{transform:translateY(10px);opacity:0}to{transform:translateY(0);opacity:1}}
/* Login */
.login-screen{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:30px;position:relative;overflow:hidden;background:linear-gradient(135deg,#edf3ff,#f9fbff 46%,#f5f6ff)}.login-decoration{position:absolute;inset:0;pointer-events:none}.login-decoration span{position:absolute;display:block;border-radius:25px;background:linear-gradient(140deg,#85acf75e,#b7d7f42a);transform:rotate(20deg)}.login-decoration span:nth-child(1){height:310px;width:250px;left:-120px;top:5%}.login-decoration span:nth-child(2){height:250px;width:220px;right:-70px;top:10%;transform:rotate(-20deg)}.login-decoration span:nth-child(3){height:210px;width:220px;right:12%;bottom:-115px;transform:rotate(35deg)}.login-decoration span:nth-child(4){height:130px;width:180px;left:15%;bottom:-60px;transform:rotate(-35deg)}.login-card{position:relative;width:min(100%,450px);background:#fff;border:1px solid #e7eefa;border-radius:25px;padding:32px 39px 30px;box-shadow:0 22px 80px #365ea627}.brand-login{justify-content:center;padding:0;margin-bottom:25px}.login-illustration{height:130px;border-radius:16px;background:linear-gradient(155deg,#d7e8ff,#e9eeff);position:relative;overflow:hidden;margin-bottom:27px}.ill-sun{height:52px;width:52px;border-radius:50%;background:#ffcd75;position:absolute;right:65px;top:17px}.ill-hill{position:absolute;width:440px;height:200px;background:#7da9e6;transform:rotate(-12deg);top:89px;left:-100px;border-radius:40px}.ill-hill-second{background:#80d6bd;transform:rotate(18deg);top:97px;left:80px}.ill-dot{position:absolute;width:16px;height:16px;border:4px solid #ffffffd8;border-radius:50%;top:20px;left:32px}.login-card h1{font-size:29px;letter-spacing:-1px;line-height:1.17;text-align:center;margin:0 0 13px}.login-card h1 span{color:var(--blue)}.login-copy{font-size:13px;color:#93a0b3;line-height:1.6;text-align:center;margin:0 0 29px}.login-card label{display:block;font-size:12px;font-weight:700;color:#5b6a83;margin-bottom:8px}.password-row{display:flex;border:1px solid #e0e8f4;border-radius:11px;height:47px;align-items:center}.password-row:focus-within{border-color:#7fa5f3}.password-row input{border:0;background:transparent;outline:0;flex:1;padding:0 13px;min-width:0;font-size:13px}.error-text{color:#c94c59;font-size:11px;min-height:19px;margin:8px 0 5px}.button-full{width:100%;justify-content:space-between;min-height:47px;padding:0 18px}.login-foot{text-align:center;color:#b0b9c6;font-size:11px;margin:25px 0 0}
@media(min-width:1450px){.photo-grid{grid-template-columns:repeat(auto-fill,minmax(187px,1fr))}.tile{aspect-ratio:1 / .91}}
@media(max-width:1100px){.sidebar{width:220px;min-width:220px}.topbar{padding:0 25px}.content{padding:35px 28px 100px}.top-status,.online-dot{display:none}.photo-grid{grid-template-columns:repeat(auto-fill,minmax(135px,1fr));gap:9px}}
@media(max-width:760px){.sidebar{display:none}.shell{display:block}.main{width:100%}.topbar{height:68px;padding:0 16px;gap:10px}.search-box{max-width:none;flex:1;padding:0 12px;height:42px}.search-box kbd{display:none}.top-actions{gap:8px}.top-actions .button{width:42px;padding:0}.top-actions .button span:not([data-icon]){display:none}.avatar{height:33px;width:33px}.content{padding:31px 17px 130px}.page-heading{align-items:flex-end;margin-bottom:29px;gap:9px}.page-heading h1{font-size:25px}.page-heading p{font-size:12px;line-height:1.4}.eyebrow{font-size:9px;margin-bottom:10px}.heading-actions{gap:6px}.heading-actions .button{width:37px;min-width:37px;min-height:37px;padding:0;font-size:0}.heading-actions svg{height:17px;width:17px}.photo-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.tile{border-radius:6px;aspect-ratio:1 / 1.06}.date-group{margin-bottom:29px}.date-heading{font-size:13px;margin-bottom:12px}.file-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.file-preview{height:120px}.file-card{min-height:177px}.bottom-nav{position:fixed;bottom:0;left:0;right:0;background:#fff;border-top:1px solid #e8edf5;display:flex;justify-content:space-around;height:calc(67px + env(safe-area-inset-bottom));padding:5px 7px env(safe-area-inset-bottom);z-index:30;box-shadow:0 -5px 25px #2735490a}.bottom-nav button{border:0;background:transparent;color:#9ba6b5;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px;min-width:58px;font-size:10px}.bottom-nav button.active{color:var(--blue)}.bottom-nav svg{height:20px;width:20px}.bottom-nav small{font-size:10px}.selection-bar{left:10px;right:10px;bottom:calc(77px + env(safe-area-inset-bottom));transform:none;width:auto;gap:9px;padding:8px 11px;flex-wrap:wrap;justify-content:center}.selection-actions{gap:1px}.selection-actions button{font-size:0;padding:8px}.selection-actions svg{height:19px;width:19px}.selection-count{font-size:11px}.viewer-toolbar{padding:0 10px;gap:7px;height:61px}.viewer-tools{gap:1px}.round-button{height:34px;width:34px}.round-button svg{width:16px;height:16px}.viewer-filename{font-size:12px}.viewer-body{padding:15px 13px}.viewer-content img,.viewer-content video{max-height:calc(100vh - 160px)}.viewer-arrow{height:42px;width:30px;font-size:23px;top:auto;bottom:4px;transform:none}.viewer-prev{left:10px}.viewer-next{right:10px}.viewer-info{font-size:10px;gap:12px}.modal{padding:24px 17px;border-radius:18px}.toast-box{bottom:calc(85px + env(safe-area-inset-bottom));right:12px;left:12px}.toast{max-width:none;min-width:0}.login-card{padding:28px 25px}.login-screen{padding:18px}}
@media(max-width:365px){.photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.heading-actions .button{width:33px;min-width:33px}.page-heading h1{font-size:22px}}

/* Album options popover */
.album-menu-wrap{position:relative}.album-menu{position:absolute;z-index:40;top:45px;right:0;width:220px;background:white;border:1px solid #e6ebf3;box-shadow:0 12px 32px #192e4f21;border-radius:12px;padding:7px}.album-menu button{width:100%;border:0;background:transparent;display:flex;align-items:center;gap:9px;padding:11px 9px;font-size:12px;color:#59657a;border-radius:8px;text-align:left}.album-menu button:hover{background:#f3f6fb}.album-menu button:last-child{color:#c14c60}.album-menu svg{height:16px;width:16px}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* Cloud4 Photos v1.2 - salvare in aplicatia Poze pe iPhone */
.viewer-footer{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:9px 15px max(12px, env(safe-area-inset-bottom));border-top:1px solid #ffffff16;gap:10px;flex-shrink:0}
.viewer-footer .viewer-info{border:0;height:auto;min-height:18px;flex-wrap:wrap}
.viewer-save-actions{display:flex;flex-direction:column;align-items:center;gap:6px;max-width:100%;text-align:center}
.viewer-save-button{min-height:42px;border-radius:11px;padding:0 22px;font-size:13px}
.viewer-save-caption{font-size:10px;line-height:1.35;color:#b5c0d0;padding:0 15px}
.manual-photo-modal{position:fixed;inset:0;z-index:130;display:flex;justify-content:center;align-items:center;color:#243046}
.manual-photo-backdrop{position:absolute;inset:0;background:#061223ea}
.manual-photo-panel{position:relative;background:#fff;border-radius:18px;box-shadow:0 16px 50px #0009;padding:20px;width:min(95vw,550px);max-height:90dvh;overflow-y:auto;display:flex;flex-direction:column;gap:13px}
.manual-photo-top{display:flex;justify-content:space-between;align-items:center;gap:10px}
.manual-photo-top strong{font-size:17px}
.manual-photo-top .round-button{background:#eff3fb;color:#3d547a;flex-shrink:0}
.manual-photo-panel p{font-size:13px;line-height:1.5;color:#566176;margin:0}
.manual-photo-panel img{display:block;width:auto;height:auto;max-width:100%;max-height:47dvh;object-fit:contain;align-self:center;touch-action:auto;-webkit-touch-callout:default;-webkit-user-select:auto;user-select:auto;border-radius:6px}
.manual-photo-filename{color:#64748b;font-size:11px;overflow-wrap:anywhere;text-align:center}
.manual-open-link{align-self:center;min-height:38px;font-size:12px}
.manual-photo-panel small{font-size:11px;line-height:1.6;color:#64748b}
@media(max-width:760px){.viewer-footer{gap:8px;padding:9px 12px max(12px, env(safe-area-inset-bottom))}.viewer-save-button{min-height:40px;padding:0 18px}.viewer-save-caption{font-size:10px}.viewer-content img,.viewer-content video{max-height:calc(100dvh - 245px)}.manual-photo-panel{width:calc(100vw - 24px);max-height:90dvh;padding:16px}.manual-photo-panel img{max-height:46dvh}}

.viewer-save-manual{border:0;color:#b4c8ee;background:transparent;text-decoration:underline;padding:2px 8px;font-size:11px;min-height:23px}
.viewer-save-manual:focus-visible{outline:2px solid #c8dcff;outline-offset:2px;border-radius:6px}

/* Cloud4 Photos v1.3 - selectare multipla inclusiv albume */
.album-card{position:relative;}
.album-check{display:none;position:absolute;top:12px;right:12px;z-index:2;border-radius:50%;width:30px;height:30px;align-items:center;justify-content:center;background:#397cf0;color:white;box-shadow:0 2px 8px #0003;}
.album-check svg{width:18px;height:18px;}
.album-card.selected{outline:3px solid #397cf0;outline-offset:-3px;}
.album-card.selected .album-check{display:flex;}
@media(max-width:650px){#selectAllVisible{font-size:12px;padding:9px;} .selection-bar{flex-wrap:wrap;gap:8px}.selection-actions{flex-wrap:wrap;} }
