/*
 * ExHub Gallery Studio
 * Professional upload, protected proofing, client selection and public product demo.
 */

/* Shared gallery language */
.gallery-pro-heading{align-items:flex-end}
.gallery-pro-heading>div{display:grid;justify-items:start}
.gallery-pro-heading>a,.gallery-pro-heading .small{font-size:13px!important;font-weight:700}
.gallery-pro-heading h1{margin:7px 0 5px}
.gallery-pro-heading p{margin:0;color:#6d7180;font-size:14px;line-height:1.6}
.gallery-pro-kicker{display:inline-flex;align-items:center;gap:7px;margin-top:13px;color:var(--red);font-size:11px;font-weight:800;letter-spacing:1.7px;text-transform:uppercase}
.gallery-pro-kicker:before{content:"";width:18px;height:2px;background:currentColor}

.selection-locked{display:flex;align-items:center;gap:14px;margin-bottom:18px;padding:16px 18px;border:1px solid #dedfe5;border-radius:14px;background:#f8f8fa;color:#606574}
.selection-locked>i{display:grid;place-items:center;width:40px;height:40px;flex:0 0 auto;border-radius:11px;background:#ececf0;color:#262a40;font-size:17px}
.selection-locked>div{display:grid;gap:3px}
.selection-locked strong{font:800 14px var(--display)}
.selection-locked span{font-size:13px;line-height:1.5}

/* Photographer protection command centre */
.gallery-pro-command{padding:0!important;overflow:hidden}
.gallery-command-intro{display:grid;grid-template-columns:auto minmax(0,1fr) minmax(250px,360px);gap:17px;align-items:center;padding:24px 27px;color:#fff;background:linear-gradient(120deg,#151827 0%,#202540 62%,#292c49 100%)}
.gallery-command-intro>span{display:grid;place-items:center;width:48px;height:48px;border:1px solid rgba(255,255,255,.14);border-radius:14px;background:rgba(255,255,255,.08);color:#ff8298;font-size:21px}
.gallery-command-intro small{display:block;margin-bottom:4px;color:#ff8298;font-size:11px;font-weight:800;letter-spacing:1.35px;text-transform:uppercase}
.gallery-command-intro h2{margin:0;font:800 22px/1.25 var(--display);letter-spacing:-.45px}
.gallery-command-intro p{max-width:690px;margin:6px 0 0;color:#bcc1d0;font-size:13px;line-height:1.6}
.gallery-command-intro>em{display:flex;align-items:flex-start;gap:9px;padding:12px 14px;border:1px solid rgba(255,255,255,.1);border-radius:11px;background:rgba(0,0,0,.13);color:#cfd2dc;font-size:11px;font-style:normal;line-height:1.55}
.gallery-command-intro>em i{margin-top:1px;color:#ff8298}
.gallery-command-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(300px,.5fr);gap:0}
.gallery-protection-form{padding:27px}
.gallery-protection-form fieldset{min-width:0}
.gallery-protection-form fieldset[disabled]{opacity:.78}
.gallery-protection-form legend{margin-bottom:13px;color:#333746;font:800 13px var(--display)}
.gallery-protection-form .form-label{font-size:12px;font-weight:800}
.gallery-protection-form .form-control{min-height:46px;border-color:#dedfe5;background:#fafafd;font-size:13px}
.gallery-protection-form textarea.form-control{min-height:92px;line-height:1.55}
.gallery-protection-form .form-text{font-size:11px;line-height:1.5}
.protection-preset-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}
.protection-preset{position:relative;display:grid;grid-template-columns:38px 1fr;grid-template-rows:auto 1fr;column-gap:10px;min-height:125px;padding:13px;border:1px solid #dfe0e5;border-radius:12px;background:#fbfbfc;cursor:pointer;transition:.22s ease}
.protection-preset:hover{border-color:#bcbfca;background:#fff;transform:translateY(-2px);box-shadow:0 12px 25px rgba(22,25,43,.07)}
.protection-preset>input{position:absolute;width:1px;height:1px;opacity:0}
.protection-preset>span{display:grid;grid-row:1/3;place-items:center;width:36px;height:36px;border-radius:10px;background:#eef0f4;color:#646978;font-size:16px}
.protection-preset>strong{align-self:center;padding-right:17px;font:800 12px/1.25 var(--display)}
.protection-preset>small{grid-column:2;margin-top:5px;color:#777b88;font-size:10px;line-height:1.45}
.protection-preset>i{position:absolute;right:9px;top:9px;color:var(--red);font-size:14px;opacity:0;transform:scale(.7);transition:.2s}
.protection-preset:has(input:checked){border-color:rgba(230,71,99,.62);background:#fff7f8;box-shadow:0 0 0 3px rgba(230,71,99,.07)}
.protection-preset:has(input:checked)>span{background:#ffe6eb;color:var(--red)}
.protection-preset:has(input:checked)>i{opacity:1;transform:none}
.protection-preset:focus-within{outline:3px solid rgba(230,71,99,.18);outline-offset:2px}
.protection-pb30-toggle{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;margin-top:13px;padding:14px 16px;border:1px solid #dfe0e5;border-radius:12px;background:linear-gradient(100deg,#f8f8fb,#fff);cursor:pointer}
.protection-pb30-toggle>input{position:absolute;width:1px;height:1px;opacity:0}
.protection-pb30-toggle>span:first-of-type{display:grid;place-items:center;width:40px;height:40px;border-radius:11px;background:#22263e;color:#fff;font-size:17px}
.protection-pb30-toggle>span:nth-of-type(2){display:grid;gap:3px}
.protection-pb30-toggle strong{font:800 12px var(--display)}
.protection-pb30-toggle small{color:#747986;font-size:10px;line-height:1.45}
.protection-pb30-toggle>em{position:relative;width:42px;height:23px;border-radius:99px;background:#c9cbd3;transition:.2s}
.protection-pb30-toggle>em:after{content:"";position:absolute;left:3px;top:3px;width:17px;height:17px;border-radius:50%;background:#fff;box-shadow:0 2px 5px rgba(0,0,0,.18);transition:.2s}
.protection-pb30-toggle:has(input:checked){border-color:rgba(230,71,99,.48);background:#fff7f9}
.protection-pb30-toggle:has(input:checked)>em{background:var(--red)}
.protection-pb30-toggle:has(input:checked)>em:after{transform:translateX(19px)}
.protection-pb30-toggle:focus-within{outline:3px solid rgba(230,71,99,.18);outline-offset:2px}

.protection-live-preview{display:flex;flex-direction:column;min-width:0;padding:22px;border-left:1px solid #e6e7eb;background:#f5f5f7}
.protection-preview-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:11px}
.protection-preview-head span{color:#7a7e8b;font-size:11px;font-weight:800;text-transform:uppercase}
.protection-preview-head strong{font-size:12px}
.protection-preview-media{position:relative;min-height:255px;overflow:hidden;border-radius:14px;background:#171a2d;box-shadow:0 17px 30px rgba(19,22,38,.13)}
.protection-preview-media:after{content:"EXHUB / PROVA PROTEGIDA  •  EXHUB / PROVA PROTEGIDA  •  EXHUB / PROVA PROTEGIDA";position:absolute;inset:0;display:grid;place-items:center;padding:20px;color:rgba(255,255,255,.52);font:800 10px/4.3 var(--display);letter-spacing:2.4px;text-align:center;text-shadow:0 1px 2px rgba(0,0,0,.25);transform:rotate(-24deg);pointer-events:none}
.protection-live-preview[data-level=discreta] .protection-preview-media:after{color:rgba(255,255,255,.28);line-height:6.2}
.protection-live-preview[data-level=reforcada] .protection-preview-media:after{color:rgba(255,255,255,.65);font-size:11px;line-height:3}
.protection-live-preview[data-level=monocromatica] .protection-preview-media img{filter:grayscale(1) contrast(.94)}
.protection-live-preview[data-pb30="1"]:not([data-level=monocromatica]) .protection-preview-media img{filter:saturate(.3)}
.protection-preview-media img{width:100%;height:100%;min-height:255px;object-fit:cover}
.protection-preview-empty{position:absolute;inset:0;display:grid;place-content:center;justify-items:center;gap:9px;color:#8e93a5;font-size:12px}
.protection-preview-empty i{font-size:26px}
.protection-preview-reference{position:absolute;right:10px;bottom:10px;z-index:2;padding:5px 7px;border-radius:6px;background:rgba(15,18,31,.82);color:#fff;font-size:9px;font-weight:800;letter-spacing:.8px}
.protection-live-preview>div:last-child{display:flex;align-items:center;gap:10px;margin-top:14px}
.protection-live-preview>div:last-child>i{display:grid;place-items:center;width:35px;height:35px;border-radius:10px;background:#e8f5f0;color:#18835d}
.protection-live-preview>div:last-child span{display:grid;gap:1px}
.protection-live-preview>div:last-child strong{font-size:12px}
.protection-live-preview>div:last-child small{color:#757a87;font-size:10px}

/* Upload queue and gallery capacity */
.gallery-upload-layout{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(285px,.45fr);gap:18px;margin:18px 0}
.gallery-upload-card{padding:20px!important}
.gallery-drop-zone{display:flex!important;flex-direction:column;align-items:center;justify-content:center;min-height:285px;padding:28px!important;border:1.5px dashed #c8cad3!important;border-radius:15px!important;background:linear-gradient(145deg,#fafafd,#f5f5f8)!important;text-align:center;cursor:pointer;transition:.25s!important}
.gallery-drop-zone:hover,.gallery-drop-zone.is-dragging{border-color:var(--red)!important;background:#fff6f8!important;box-shadow:inset 0 0 0 3px rgba(230,71,99,.05)}
.gallery-drop-zone.is-dragging{transform:scale(.992)}
.gallery-upload-icon{display:grid;place-items:center;width:54px;height:54px;margin-bottom:14px;border-radius:16px;background:#171a2d;color:#fff;box-shadow:0 12px 24px rgba(23,26,45,.16);font-size:22px}
.gallery-drop-zone>small{color:var(--red);font-size:10px;font-weight:800;letter-spacing:1.5px;text-transform:uppercase}
.gallery-drop-zone h2{margin:6px 0 5px;font:800 21px var(--display)}
.gallery-drop-zone p{margin:0 0 16px;color:#747986;font-size:12px}
.gallery-drop-zone input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
.gallery-upload-queue{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:12px;padding:12px 14px;border:1px solid #e2e3e7;border-radius:11px;background:#fff}
.gallery-upload-queue[hidden]{display:none}
.gallery-upload-queue>div{display:flex;align-items:center;gap:10px}
.gallery-upload-queue>div>i{color:var(--red);font-size:18px}
.gallery-upload-queue>div span{display:grid}
.gallery-upload-queue strong{font-size:12px}
.gallery-upload-queue small{color:#777b88;font-size:10px}
.gallery-upload-queue>span{position:relative;width:150px;height:5px;overflow:hidden;border-radius:99px;background:#ececf0}
.gallery-upload-queue>span i{position:absolute;inset:0 auto 0 0;width:35%;border-radius:inherit;background:linear-gradient(90deg,var(--red),#ff8ca0);transition:width .5s}
.gallery-upload-queue.has-error{border-color:#f3b7c1;background:#fff7f8;color:#a72d43}
.gallery-process-button{width:100%;min-height:49px;margin-top:11px}
.gallery-process-button .bi-arrow-repeat{animation:gallery-spin 1s linear infinite}
@keyframes gallery-spin{to{transform:rotate(360deg)}}
.gallery-capacity-card{display:flex;flex-direction:column;padding:22px!important;background:linear-gradient(155deg,#181b2f,#232742)!important;color:#fff}
.gallery-capacity-head{display:flex;align-items:center;gap:11px}
.gallery-capacity-head>span{display:grid;place-items:center;width:40px;height:40px;border:1px solid rgba(255,255,255,.12);border-radius:11px;background:rgba(255,255,255,.07);color:#ff7f96}
.gallery-capacity-head>div{display:grid}
.gallery-capacity-head small{color:#9fa5b8;font-size:10px;text-transform:uppercase}
.gallery-capacity-head strong{font:800 13px var(--display)}
.gallery-capacity-number{display:grid;margin:28px 0 13px}
.gallery-capacity-number strong{font:800 44px/1 var(--display);letter-spacing:-2px}
.gallery-capacity-number span{margin-top:4px;color:#babfce;font-size:11px}
.gallery-capacity-card>p{min-height:54px;margin:0 0 22px;color:#b7bbc9;font-size:12px;line-height:1.6}
.gallery-storage-row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:auto;color:#aeb3c3;font-size:10px}
.gallery-storage-row strong{color:#fff;font-size:11px}
.gallery-capacity-card .license-progress{height:7px;margin:8px 0 19px;background:rgba(255,255,255,.1)}
.gallery-capacity-card .license-progress i{background:linear-gradient(90deg,var(--red),#ff8398)}
.gallery-storage-breakdown{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin-bottom:10px}.gallery-storage-breakdown>span{display:grid;padding:8px;border:1px solid rgba(255,255,255,.08);border-radius:9px;background:rgba(255,255,255,.045)}.gallery-storage-breakdown small{color:#959caf;font-size:7px}.gallery-storage-breakdown b{margin-top:2px;color:#fff;font-size:8px}.gallery-storage-note{display:flex;align-items:flex-start;gap:6px;margin-bottom:17px;color:#9fa5b8;font-size:7px;line-height:1.5}.gallery-storage-note i{margin-top:1px;color:#ff8095}
.gallery-processed-card{margin-bottom:18px}
.gallery-processed-card .card-title-row{margin-bottom:18px}
.gallery-processed-card .card-title-row h2{margin:3px 0}
.gallery-processed-card .card-title-row small{font-size:11px}
.gallery-processed-card .optimization-seal{font-size:10px}
.upload-gallery{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:9px}
.upload-photo{position:relative;overflow:hidden;border-radius:11px;background:#eceef2}
.upload-photo:after{content:"";position:absolute;inset:auto 0 0;height:42%;background:linear-gradient(transparent,rgba(11,13,23,.58));pointer-events:none}
.upload-photo img{display:block;width:100%;aspect-ratio:1;object-fit:cover;transition:.25s}
.upload-photo:hover img{transform:scale(1.025)}
.upload-photo-code{position:absolute;left:8px;bottom:7px;z-index:2;color:#fff;font-size:9px;font-weight:800;letter-spacing:.45px}
.upload-photo form{position:absolute;right:7px;top:7px;z-index:2}
.upload-photo button{display:grid;place-items:center;width:30px;height:30px;border:0;border-radius:8px;background:rgba(17,20,34,.79);color:#fff;font-size:12px;backdrop-filter:blur(7px)}
.upload-photo button:hover{background:var(--red)}

/* Client gallery */
.client-gallery-heading{margin-bottom:15px}
.gallery-client-message{display:flex;align-items:flex-start;gap:13px;margin-bottom:14px;padding:18px 20px;border:1px solid #eadde0;border-radius:14px;background:linear-gradient(100deg,#fff8f9,#fff)}
.gallery-client-message>span{display:grid;place-items:center;width:39px;height:39px;flex:0 0 auto;border-radius:11px;background:#ffe7eb;color:var(--red)}
.gallery-client-message>div{display:grid;gap:3px}
.gallery-client-message small{color:#8b5963;font-size:10px;font-weight:800;text-transform:uppercase}
.gallery-client-message p{margin:0;color:#444856;font:600 14px/1.65 var(--display)}
.gallery-trust-ribbon{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:13px;margin-bottom:17px;padding:14px 17px;border-radius:13px;background:#171a2d;color:#fff;box-shadow:0 12px 30px rgba(23,26,45,.12)}
.gallery-trust-ribbon>span{display:grid;place-items:center;width:39px;height:39px;border-radius:10px;background:rgba(255,255,255,.09);color:#ff7f96}
.gallery-trust-ribbon>div{display:grid;gap:2px}
.gallery-trust-ribbon strong{font-size:12px}
.gallery-trust-ribbon small{color:#b8bdcb;font-size:10px;line-height:1.45}
.gallery-trust-ribbon>em{display:flex;align-items:center;gap:7px;color:#cfd3df;font-size:10px;font-style:normal;font-weight:700}
.gallery-trust-ribbon>em i{color:#ff7f96}
.selection-pro-form{position:relative;padding-bottom:2px}
.selection-pro-bar{position:sticky;top:77px;z-index:30;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:18px;margin-bottom:14px;padding:13px 16px;border:1px solid rgba(221,222,228,.9);border-radius:15px;background:rgba(255,255,255,.94);box-shadow:0 14px 35px rgba(18,21,33,.09);backdrop-filter:blur(16px)}
.selection-pro-total>span{--selection-progress:0;position:relative;display:grid;place-items:center;width:62px;height:62px;border-radius:50%;background:conic-gradient(var(--red) calc(var(--selection-progress)*1%),#ececf0 0)}
.selection-pro-total>span:before{content:"";position:absolute;inset:5px;border-radius:50%;background:#fff}
.selection-pro-total strong,.selection-pro-total small{position:relative;z-index:1}
.selection-pro-total strong{font:800 19px/1 var(--display)}
.selection-pro-total small{margin-top:-8px;color:#7b7f8b;font-size:8px}
.selection-pro-metrics{display:flex;align-items:stretch}
.selection-pro-metrics>span{display:grid;min-width:118px;padding:5px 18px;border-left:1px solid #e7e7eb}
.selection-pro-metrics small{color:#797d89;font-size:10px}
.selection-pro-metrics strong{margin-top:3px;font:800 14px var(--display)}
.selection-pro-metrics b{font-weight:800}
.selection-pro-actions{margin-left:auto}
.selection-pro-actions .btn{min-height:43px}
.selection-gallery-tools{display:flex;align-items:center;gap:15px;margin-bottom:14px;padding:11px 13px;border:1px solid #e4e5e9;border-radius:13px;background:#f8f8fa}
.selection-filter-tabs{display:flex;align-items:center;gap:4px;padding:3px;border-radius:9px;background:#eaeaee}
.selection-filter-tabs button{display:flex;align-items:center;gap:5px;min-height:31px;padding:0 11px;border:0;border-radius:7px;background:transparent;color:#686c79;font-size:10px;font-weight:800}
.selection-filter-tabs button.active{background:#fff;color:#171a2d;box-shadow:0 3px 8px rgba(18,21,33,.08)}
.selection-filter-tabs em{display:grid;place-items:center;min-width:18px;height:18px;border-radius:99px;background:#e9e9ed;font-size:8px;font-style:normal}
.selection-search{display:flex;align-items:center;flex:1;max-width:340px;min-height:37px;padding:0 10px;border:1px solid #dedfe4;border-radius:9px;background:#fff}
.selection-search>i{color:#888c98}
.selection-search input{width:100%;min-width:0;padding:0 8px;border:0;outline:0;background:transparent;color:#313544;font-size:11px}
.selection-search kbd{border:0;background:#f0f0f3;color:#8c909b;font-size:8px}
.selection-gallery-tools>span{margin-left:auto;color:#767a87;font-size:10px}
.selection-gallery-tools>span i{margin-right:4px;color:#313544}
.photo-select-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
.photo-option{position:relative;min-width:0;overflow:hidden;border-radius:12px;background:#e9eaf0;box-shadow:inset 0 0 0 1px rgba(20,23,37,.04);transition:.23s}
.photo-option[hidden]{display:none}
.photo-option:hover{transform:translateY(-2px);box-shadow:0 12px 24px rgba(20,23,37,.12)}
.photo-option>label{position:relative;display:block;margin:0;cursor:pointer}
.photo-option input{position:absolute;width:1px;height:1px;opacity:0}
.photo-option img{display:block;width:100%;aspect-ratio:1;object-fit:cover;transition:.24s}
.photo-option:after{content:"";position:absolute;inset:0;z-index:1;border:2px solid transparent;border-radius:inherit;pointer-events:none;transition:.2s}
.photo-option:has(input:checked):after{border-color:var(--red);box-shadow:inset 0 0 0 3px rgba(255,255,255,.75)}
.photo-option:has(input:checked) img{filter:brightness(.9)}
.photo-protection-grid{position:absolute;inset:0;background:linear-gradient(155deg,transparent 45%,rgba(15,17,29,.28));pointer-events:none}
.photo-check{position:absolute;left:9px;top:9px;z-index:3;display:grid;place-items:center;width:29px;height:29px;border:2px solid rgba(255,255,255,.9);border-radius:50%;background:rgba(17,20,34,.35);color:transparent;backdrop-filter:blur(5px);transition:.2s}
.photo-option:has(input:checked) .photo-check{border-color:var(--red);background:var(--red);color:#fff;transform:scale(1.04)}
.photo-number{position:absolute;left:9px;bottom:8px;z-index:3;padding:4px 6px;border-radius:5px;background:rgba(15,17,29,.68);color:#fff;font-size:8px;font-weight:800;letter-spacing:.5px;backdrop-filter:blur(5px)}
.photo-extra-flag{position:absolute;right:8px;bottom:8px;z-index:3;display:none;align-items:center;gap:3px;padding:4px 6px;border-radius:5px;background:#ffeaee;color:#b92e47;font-size:8px;font-weight:800;text-transform:uppercase}
.photo-option.is-extra .photo-extra-flag{display:flex}
.photo-preview-button{position:absolute;right:8px;top:8px;z-index:5;display:grid;place-items:center;width:30px;height:30px;border:0;border-radius:8px;background:rgba(15,17,29,.73);color:#fff;opacity:0;transform:translateY(-3px);transition:.2s;backdrop-filter:blur(6px)}
.photo-option:hover .photo-preview-button,.photo-preview-button:focus-visible{opacity:1;transform:none}
.photo-option.is-readonly>label{cursor:default}
.selection-no-results{display:grid;justify-items:center;gap:5px;padding:60px 20px;border:1px dashed #d8d9df;border-radius:14px;color:#737784;text-align:center}
.selection-no-results[hidden]{display:none}
.selection-no-results i{font-size:25px}
.selection-no-results strong{font:800 14px var(--display)}
.selection-no-results span{font-size:11px}
.selection-note-card{display:grid;grid-template-columns:auto minmax(240px,.6fr) minmax(320px,1fr);align-items:center;gap:15px;margin:17px 0;padding:20px;border:1px solid #e2e3e7;border-radius:15px;background:#fff}
.selection-note-card>span{display:grid;place-items:center;width:43px;height:43px;border-radius:12px;background:#f0f0f3;color:#262a40}
.selection-note-card>div{display:grid;gap:2px}
.selection-note-card small{color:var(--red);font-size:9px;font-weight:800;letter-spacing:1px;text-transform:uppercase}
.selection-note-card h2{margin:0;font:800 15px var(--display)}
.selection-note-card p{margin:3px 0 0;color:#747885;font-size:11px;line-height:1.5}
.selection-note-card textarea{min-height:90px;background:#fafafd;font-size:12px;line-height:1.55}
.selection-note-readonly{padding:14px!important;border-radius:10px;background:#f7f7f9!important;color:#404452!important}
.selection-final-action{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 20px;border-radius:14px;background:#171a2d;color:#fff}
.selection-final-action>div{display:flex;align-items:center;gap:9px;color:#bec2d0;font-size:11px;line-height:1.5}
.selection-final-action>div i{color:#ff8096}

/* Protected gallery viewer */
body.selection-viewer-open{overflow:hidden}
.selection-pro-viewer{position:fixed;inset:0;z-index:2000;display:grid;place-items:center;opacity:0;transition:opacity .22s}
.selection-pro-viewer[hidden]{display:none}
.selection-pro-viewer.open{opacity:1}
.selection-viewer-backdrop{position:absolute;inset:0;background:rgba(7,9,16,.91);backdrop-filter:blur(12px)}
.selection-pro-viewer section{position:relative;z-index:1;display:grid;grid-template-rows:minmax(0,1fr) auto;width:min(1100px,calc(100vw - 100px));height:min(850px,calc(100vh - 70px));padding:16px;border:1px solid rgba(255,255,255,.14);border-radius:18px;background:#111421;box-shadow:0 30px 90px rgba(0,0,0,.42);transform:scale(.98);transition:transform .22s}
.selection-pro-viewer.open section{transform:none}
.selection-viewer-stage{position:relative;display:grid;place-items:center;min-height:0;overflow:hidden;border-radius:12px;background:#090b12}
.selection-viewer-stage img{width:100%;height:100%;object-fit:contain;-webkit-user-select:none;user-select:none}
.selection-viewer-code{position:absolute;right:12px;bottom:12px;padding:6px 8px;border-radius:6px;background:rgba(15,17,29,.78);color:#fff;font-size:10px;font-weight:800}
.selection-viewer-security{display:flex;align-items:center;gap:10px;padding:12px 4px 0;color:#fff}
.selection-viewer-security>i{display:grid;place-items:center;width:35px;height:35px;border-radius:9px;background:rgba(255,255,255,.08);color:#ff8096}
.selection-viewer-security>span{display:grid}
.selection-viewer-security strong{font-size:11px}
.selection-viewer-security small{color:#9ea3b3;font-size:9px}
.selection-viewer-close,.selection-viewer-nav{position:absolute;z-index:3;display:grid;place-items:center;border:1px solid rgba(255,255,255,.14);background:rgba(20,23,38,.8);color:#fff;backdrop-filter:blur(9px)}
.selection-viewer-close{right:16px;top:16px;width:42px;height:42px;border-radius:11px}
.selection-viewer-nav{top:50%;width:43px;height:60px;border-radius:12px;transform:translateY(-50%)}
.selection-viewer-nav.prev{left:16px}
.selection-viewer-nav.next{right:16px}
.selection-viewer-close:hover,.selection-viewer-nav:hover{background:var(--red)}
.proof-capture-shield{position:fixed;inset:0;z-index:4000;display:grid;place-items:center;padding:24px;background:#111422;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .08s}
.proof-capture-shield>span{display:grid;justify-items:center;gap:7px;color:#fff;text-align:center}
.proof-capture-shield i{display:grid;place-items:center;width:58px;height:58px;margin-bottom:5px;border:1px solid rgba(255,255,255,.15);border-radius:18px;background:rgba(255,255,255,.08);color:#ff8197;font-size:24px}
.proof-capture-shield strong{font:800 18px var(--display)}
.proof-capture-shield small{color:#aeb3c3;font-size:11px}
body.proof-capture-obscured .proof-capture-shield{opacity:1;visibility:visible;pointer-events:auto}
body.proof-capture-obscured .app-shell,body.proof-capture-obscured .app-sidebar,body.proof-capture-obscured .selection-pro-viewer{filter:blur(30px);visibility:hidden}

/* Photographer selection review */
.selection-review-note{display:flex;align-items:flex-start;gap:13px;margin-bottom:15px;padding:18px;border:1px solid #eadde0;border-radius:14px;background:#fff8f9}
.selection-review-note>span{display:grid;place-items:center;width:40px;height:40px;flex:0 0 auto;border-radius:11px;background:#ffe3e8;color:var(--red)}
.selection-review-note>div{display:grid}
.selection-review-note small{color:#9e3d50;font-size:9px;font-weight:800;letter-spacing:1px;text-transform:uppercase}
.selection-review-note p{margin:5px 0 3px;color:#3f4351;font-size:13px;line-height:1.6}
.selection-review-note em{color:#878b96;font-size:9px;font-style:normal}
.selection-review-actions{display:flex;align-items:center;gap:8px}
.selection-review-actions form{margin:0}
.review-photo{overflow:hidden;border-radius:10px;background:#f0f1f4}
.review-photo:after{content:"";position:absolute;inset:auto 0 0;height:42%;border-radius:inherit;background:linear-gradient(transparent,rgba(9,11,19,.68));pointer-events:none}
.review-photo-name{position:absolute;z-index:2;left:7px;right:7px;bottom:7px;overflow:hidden;color:#fff;font-size:9px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}
.review-photo .extra-tag{z-index:3;top:7px;right:7px;bottom:auto;left:auto}

/* Public product demonstration */
.product-experience-section{position:relative;overflow:hidden;padding:112px 0 125px;background:#fff}
.product-experience-section:before{content:"";position:absolute;right:-220px;top:50px;width:560px;height:560px;border-radius:50%;background:rgba(230,71,99,.055);filter:blur(2px)}
.product-experience-heading{position:relative;display:grid;grid-template-columns:minmax(0,1.2fr) minmax(320px,.6fr);align-items:end;gap:80px;margin-bottom:57px}
.product-experience-heading .eyebrow{margin-bottom:14px}
.product-experience-heading h2{max-width:750px;margin:0;font:800 clamp(38px,4.4vw,59px)/1.06 var(--display);letter-spacing:-3px}
.product-experience-heading h2 em{font:500 1.03em var(--serif);color:var(--red)}
.product-experience-heading>p{margin:0 0 5px;color:#656a78;font-size:16px;line-height:1.72}
.product-experience-layout{position:relative;display:grid;grid-template-columns:315px minmax(0,1fr);gap:55px;align-items:center}
.product-experience-copy{display:grid}
.product-experience-index{margin-bottom:18px;color:#9a9da7;font-size:10px;font-weight:800;letter-spacing:1.6px}
.product-experience-point{display:grid;grid-template-columns:42px 1fr;gap:13px;padding:19px 0;border-top:1px solid #e8e8eb}
.product-experience-point>i{display:grid;place-items:center;width:40px;height:40px;border-radius:11px;background:#f1f2f4;color:#555b6b;font-size:17px}
.product-experience-point.active>i{background:#ffe7ec;color:var(--red)}
.product-experience-point strong{font:800 14px/1.4 var(--display)}
.product-experience-point p{margin:5px 0 0;color:#747986;font-size:12px;line-height:1.6}
.product-experience-link{display:flex;align-items:center;justify-content:space-between;gap:9px;margin-top:15px;padding:15px 17px;border-radius:11px;background:#171a2d;color:#fff;font-size:12px;font-weight:800;transition:.2s}
.product-experience-link:hover{background:#292d49;color:#fff;transform:translateY(-2px)}
.gallery-product-stage{position:relative;padding:0 24px 36px 0}
.gallery-product-window{position:relative;overflow:hidden;border:1px solid #dfe0e5;border-radius:19px;background:#fff;box-shadow:0 35px 80px rgba(21,24,39,.17)}
.gallery-product-browser{display:grid;grid-template-columns:95px 1fr auto;align-items:center;min-height:43px;padding:0 13px;border-bottom:1px solid #e5e5e8;background:#f4f4f6}
.gallery-product-browser>span{display:flex;gap:5px}
.gallery-product-browser>span i{width:8px;height:8px;border-radius:50%;background:#c8c9ce}
.gallery-product-browser>span i:first-child{background:#ed7186}
.gallery-product-browser>span i:nth-child(2){background:#efb968}
.gallery-product-browser>span i:last-child{background:#70b594}
.gallery-product-browser>div{justify-self:center;min-width:380px;padding:7px 15px;border:1px solid #e0e1e4;border-radius:8px;background:#fff;color:#777c89;font-size:9px;text-align:center}
.gallery-product-browser>div i{margin-right:5px;color:#3a8d6d}
.gallery-product-browser>em{color:#717684;font-size:9px;font-style:normal;font-weight:700}
.gallery-product-browser>em i{color:#278260}
.gallery-product-nav{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:15px 18px;border-bottom:1px solid #ececef}
.gallery-product-nav>div{display:flex;align-items:center;gap:10px}
.gallery-product-brand{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;background:#171a2d;color:#fff;font:800 12px var(--display)}
.gallery-product-nav>div>span:last-child{display:grid}
.gallery-product-nav strong{font:800 11px var(--display)}
.gallery-product-nav small{color:#7d818d;font-size:8px}
.gallery-product-protection{display:flex;align-items:center;gap:5px;padding:6px 8px;border-radius:7px;background:#edf8f3;color:#24795b;font-size:8px;font-weight:800}
.gallery-product-content{padding:16px 18px 14px;background:#f7f7f8}
.gallery-product-tools{display:flex;align-items:center;justify-content:space-between;margin-bottom:11px}
.gallery-product-tools>span{font:800 11px var(--display)}
.gallery-product-tools>div{display:flex;gap:3px;padding:3px;border-radius:7px;background:#e9e9ec}
.gallery-product-tools button{padding:5px 8px;border:0;border-radius:5px;background:transparent;color:#747885;font-size:7px;font-weight:800}
.gallery-product-tools button.active{background:#fff;color:#1d2032}
.gallery-product-tools em{font-style:normal}
.gallery-product-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}
.gallery-product-grid figure{position:relative;min-height:122px;margin:0;overflow:hidden;border-radius:8px;background:#dddfe4;transition:.34s}
.gallery-product-grid figure:after{content:"";position:absolute;inset:0;border:2px solid transparent;border-radius:inherit;transition:.3s}
.gallery-product-grid img{width:100%;height:100%;min-height:122px;object-fit:cover;transition:.45s}
.gallery-product-grid figure.selected img{filter:brightness(.88)}
.gallery-product-grid figure.selected:after{border-color:var(--red);box-shadow:inset 0 0 0 2px rgba(255,255,255,.8)}
.gallery-product-grid figure>i{position:absolute;z-index:2;left:7px;top:7px;display:grid;place-items:center;width:22px;height:22px;border:1px solid rgba(255,255,255,.85);border-radius:50%;background:rgba(15,18,30,.35);color:transparent;font-size:10px;transition:.3s}
.gallery-product-grid figure.selected>i{border-color:var(--red);background:var(--red);color:#fff}
.gallery-product-grid figure>em{position:absolute;z-index:2;right:6px;bottom:6px;display:none;padding:3px 5px;border-radius:4px;background:#ffe5ea;color:#ae2941;font-size:6px;font-style:normal;font-weight:800;text-transform:uppercase}
.gallery-product-grid figure.selected[data-demo-photo=extra]>em{display:block}
.gallery-product-watermark{position:absolute;z-index:1;left:50%;top:50%;color:rgba(255,255,255,.59);font-size:6px;font-weight:800;letter-spacing:1.4px;white-space:nowrap;transform:translate(-50%,-50%) rotate(-24deg);text-shadow:0 1px 2px rgba(0,0,0,.25)}
.gallery-product-summary{display:grid;grid-template-columns:minmax(0,1fr) 130px auto;align-items:center;gap:18px;padding:13px 18px;background:#fff}
.gallery-product-summary>div{display:grid}
.gallery-product-summary>div:first-child span{font-size:9px}
.gallery-product-summary>div:first-child span strong{font:800 16px var(--display)}
.gallery-product-summary small{color:#7c808c;font-size:7px}
.gallery-product-summary>div:nth-child(2){padding-left:15px;border-left:1px solid #e7e7ea}
.gallery-product-summary>div:nth-child(2) strong{font:800 10px var(--display)}
.gallery-product-summary button{min-height:34px;padding:0 12px;border:0;border-radius:8px;background:#e64763;color:#fff;font-size:8px;font-weight:800}
.gallery-product-summary button i{margin-left:5px}
.gallery-product-security-card{position:absolute;right:-15px;bottom:1px;display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:10px;min-width:385px;padding:13px 15px;border:1px solid rgba(255,255,255,.13);border-radius:13px;background:rgba(23,26,45,.96);color:#fff;box-shadow:0 20px 40px rgba(16,19,32,.23);backdrop-filter:blur(12px);animation:gallery-float 4.6s ease-in-out infinite}
.gallery-product-security-card>i{display:grid;place-items:center;width:38px;height:38px;border-radius:10px;background:rgba(255,255,255,.08);color:#ff8096}
.gallery-product-security-card>span{display:grid}
.gallery-product-security-card small{color:#ff8da0;font-size:7px;font-weight:800;letter-spacing:1px}
.gallery-product-security-card strong{font-size:9px}
.gallery-product-security-card>em{color:#aeb3c3;font-size:8px;font-style:normal;font-weight:800}
.gallery-product-live{position:absolute;left:-19px;top:78px;display:flex;align-items:center;gap:7px;padding:8px 10px;border:1px solid #e6e6ea;border-radius:8px;background:#fff;color:#5f6472;font-size:8px;font-weight:800;box-shadow:0 10px 25px rgba(20,23,38,.1)}
.gallery-product-live i{width:7px;height:7px;border-radius:50%;background:#2b9b72;box-shadow:0 0 0 5px rgba(43,155,114,.12);animation:gallery-pulse 2s ease infinite}
@keyframes gallery-float{50%{transform:translateY(-7px)}}
@keyframes gallery-pulse{50%{box-shadow:0 0 0 8px rgba(43,155,114,0)}}

/* PWA install action in the public header */
.public-install-app{align-items:center;gap:7px;min-height:36px;padding:0 10px;border:1px solid #dedfe4;border-radius:9px;background:#fff;color:#343847;font-size:11px;font-weight:800;transition:.2s}
.public-install-app:not([hidden]){display:inline-flex}
.public-install-app:hover{border-color:#c8cad2;background:#f7f7f9;transform:translateY(-1px)}
.public-install-app i{color:var(--red)}

@media(max-width:1180px){
    .protection-preset-grid{grid-template-columns:repeat(2,1fr)}
    .photo-select-grid{grid-template-columns:repeat(4,1fr)}
    .product-experience-layout{grid-template-columns:280px minmax(0,1fr);gap:38px}
}
@media(max-width:991px){
    .gallery-command-intro{grid-template-columns:auto 1fr}
    .gallery-command-intro>em{grid-column:1/-1}
    .gallery-command-layout{grid-template-columns:1fr}
    .protection-live-preview{border-top:1px solid #e6e7eb;border-left:0}
    .protection-preview-media{max-height:420px}
    .gallery-upload-layout{grid-template-columns:1fr}
    .gallery-capacity-card>p{min-height:0}
    .upload-gallery{grid-template-columns:repeat(4,1fr)}
    .selection-pro-bar{grid-template-columns:auto 1fr}
    .selection-pro-actions{grid-column:1/-1;width:100%}
    .selection-pro-actions .btn{width:100%}
    .selection-gallery-tools{flex-wrap:wrap}
    .selection-gallery-tools>span{width:100%;margin-left:0}
    .photo-select-grid{grid-template-columns:repeat(3,1fr)}
    .selection-note-card{grid-template-columns:auto 1fr}
    .selection-note-card textarea,.selection-note-readonly{grid-column:1/-1}
    .product-experience-heading{grid-template-columns:1fr;gap:18px}
    .product-experience-layout{grid-template-columns:1fr}
    .product-experience-copy{grid-template-columns:repeat(3,1fr);gap:12px}
    .product-experience-index,.product-experience-link{grid-column:1/-1}
    .product-experience-point{grid-template-columns:38px 1fr;border:1px solid #e8e8eb;border-radius:12px;padding:15px}
}
@media(max-width:767px){
    .gallery-pro-heading{align-items:flex-start}
    .gallery-pro-heading .status-pill{margin-top:10px}
    .gallery-command-intro{grid-template-columns:1fr;padding:22px}
    .gallery-command-intro>em{grid-column:auto}
    .gallery-command-intro h2{font-size:19px}
    .gallery-protection-form{padding:20px}
    .protection-preset-grid{grid-template-columns:1fr}
    .protection-preset{min-height:92px}
    .gallery-drop-zone{min-height:240px}
    .upload-gallery{grid-template-columns:repeat(3,1fr)}
    .gallery-trust-ribbon{grid-template-columns:auto 1fr}
    .gallery-trust-ribbon>em{grid-column:1/-1}
    .selection-pro-bar{top:66px;gap:11px;padding:11px}
    .selection-pro-total>span{width:54px;height:54px}
    .selection-pro-metrics{display:grid;grid-template-columns:repeat(3,1fr)}
    .selection-pro-metrics>span{min-width:0;padding:3px 9px}
    .selection-pro-metrics small{font-size:8px}
    .selection-pro-metrics strong{font-size:11px}
    .selection-filter-tabs{width:100%;overflow-x:auto}
    .selection-search{order:2;max-width:none;width:100%}
    .selection-gallery-tools>span{order:3}
    .photo-select-grid{grid-template-columns:repeat(2,1fr);gap:7px}
    .photo-preview-button{opacity:1;transform:none}
    .selection-note-card{grid-template-columns:auto 1fr;padding:16px}
    .selection-final-action{align-items:stretch;flex-direction:column}
    .selection-final-action .btn{width:100%}
    .selection-pro-viewer section{width:calc(100vw - 24px);height:calc(100vh - 24px);padding:9px}
    .selection-viewer-nav{width:38px;height:52px}
    .selection-viewer-nav.prev{left:9px}.selection-viewer-nav.next{right:9px}.selection-viewer-close{right:9px;top:9px}
    .selection-review-actions{align-items:stretch;flex-direction:column}
    .selection-review-actions .btn,.selection-review-actions form{width:100%}
    .product-experience-section{padding:80px 0 90px}
    .product-experience-heading{margin-bottom:38px}
    .product-experience-heading h2{font-size:40px;letter-spacing:-2.2px}
    .product-experience-heading>p{font-size:14px}
    .product-experience-copy{grid-template-columns:1fr}
    .product-experience-index,.product-experience-link{grid-column:auto}
    .gallery-product-stage{padding:0 0 47px}
    .gallery-product-browser{grid-template-columns:auto 1fr}
    .gallery-product-browser>div{min-width:0;max-width:250px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
    .gallery-product-browser>em{display:none}
    .gallery-product-grid figure,.gallery-product-grid img{min-height:100px}
    .gallery-product-security-card{right:8px;bottom:4px;min-width:0;width:calc(100% - 16px)}
    .gallery-product-live{display:none}
}
@media(max-width:520px){
    .selection-locked{align-items:flex-start;flex-wrap:wrap}
    .selection-locked .btn{width:100%;margin-left:0!important}
    .gallery-protection-form .row>*{width:100%}
    .gallery-upload-queue{align-items:flex-start;flex-direction:column}
    .gallery-upload-queue>span{width:100%}
    .gallery-storage-breakdown{grid-template-columns:1fr}
    .upload-gallery{grid-template-columns:repeat(2,1fr)}
    .selection-pro-bar{position:relative;top:auto;grid-template-columns:1fr}
    .selection-pro-total{display:none}
    .selection-pro-metrics>span:first-child{border-left:0}
    .photo-select-grid{grid-template-columns:1fr 1fr}
    .gallery-client-message p{font-size:12px}
    .product-experience-heading h2{font-size:33px}
    .gallery-product-nav{padding:11px}
    .gallery-product-protection{display:none}
    .gallery-product-content{padding:10px}
    .gallery-product-grid{gap:4px}
    .gallery-product-grid figure,.gallery-product-grid img{min-height:82px}
    .gallery-product-summary{grid-template-columns:1fr auto;padding:11px}
    .gallery-product-summary>div:nth-child(2){display:none}
    .gallery-product-security-card{grid-template-columns:34px 1fr}
    .gallery-product-security-card>em{display:none}
    .public-install-app span{display:none}
}
@media(prefers-reduced-motion:reduce){
    .gallery-product-security-card,.gallery-product-live i,.gallery-process-button .bi-arrow-repeat{animation:none}
}

.gallery-recovery-alert{display:grid;grid-template-columns:43px minmax(0,1fr);align-items:center;gap:12px;margin-bottom:17px;padding:14px 16px;border:1px solid #eed6a9;border-radius:14px;background:#fff8e9;color:#795619}.gallery-recovery-alert>i{width:41px;height:41px;display:grid;place-items:center;border-radius:11px;background:#f5dfb6;font-size:17px}.gallery-recovery-alert>div{display:grid}.gallery-recovery-alert strong{font-size:11px}.gallery-recovery-alert span{margin-top:3px;font-size:9px;line-height:1.55}

/* Incremental gallery updates keep the live selection stable. */
.selection-locked.gallery-live-update{border-color:#cfe6dc;background:#f2faf7;color:#346b59}.selection-locked.gallery-live-update>i{background:#dff3eb;color:#17815f}.gallery-live-actions{display:flex!important;flex:0 0 auto;align-items:center;gap:7px;margin-left:auto}.gallery-live-actions form{margin:0}.gallery-incremental-card{border-color:#cfe6dc!important;box-shadow:0 16px 45px rgba(23,129,95,.08)!important}.gallery-incremental-card .gallery-drop-zone{border-color:#bcdccc;background:linear-gradient(145deg,#f8fffc,#f0faf6)}.gallery-visibility-counts{display:flex;flex-wrap:wrap;gap:7px;margin:-3px 0 15px}.gallery-visibility-counts span{display:inline-flex;align-items:center;gap:5px;padding:5px 7px;border:1px solid rgba(255,255,255,.1);border-radius:8px;color:#abb1c2;font-size:9px}.gallery-visibility-counts .has-staged{border-color:rgba(255,190,91,.25);background:rgba(255,190,91,.08);color:#ffd08a}.gallery-publish-note{display:flex;align-items:flex-start;gap:6px;margin-top:10px;color:#aeb4c5;font-size:9px;line-height:1.5}.gallery-publish-note i{color:#66d0a8}.upload-photo.is-staged{box-shadow:inset 0 0 0 3px #e6a948}.upload-photo.is-staged img{filter:saturate(.78)}.upload-photo-staged{position:absolute;z-index:2;left:7px;top:7px;display:inline-flex;align-items:center;gap:5px;padding:5px 7px;border-radius:7px;background:rgba(28,25,20,.82);color:#ffd087;font-size:8px;font-weight:800;backdrop-filter:blur(7px)}.upload-photo.is-staged form{top:38px}.gallery-pending-review{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:12px;margin-bottom:15px;padding:13px 15px;border:1px solid #eed5a6;border-radius:13px;background:#fff8e9;color:#70501c}.gallery-pending-review>i{width:40px;height:40px;display:grid;place-items:center;border-radius:10px;background:#f4deb5}.gallery-pending-review>span{display:grid}.gallery-pending-review strong{font-size:11px}.gallery-pending-review small{margin-top:2px;color:#866b3c;font-size:9px}.gallery-pending-review em{font-size:9px;font-style:normal;font-weight:800}
@media(max-width:720px){.gallery-live-actions{width:100%;margin-left:0;flex-wrap:wrap}.gallery-live-actions>a,.gallery-live-actions form,.gallery-live-actions button{flex:1;width:100%}.gallery-pending-review{grid-template-columns:40px 1fr}.gallery-pending-review>em{grid-column:2}}
