/* Gather the Team — Development-only modal design preview. */
#gatherPreviewView[hidden],#gatherPreviewDialog[hidden],.gather-hidden[hidden]{display:none!important}
#gatherPreviewView{
  position:fixed;
  inset:0;
  margin:auto;
  width:min(1136px,calc(100vw - 52px));
  height:min(708px,calc(100dvh - 54px));
  max-width:none;
  max-height:none;
  padding:0;
  border:1px solid rgba(235,235,235,.96);
  border-radius:31px;
  background:#fff;
  color:#161616;
  box-shadow:0 26px 75px rgba(0,0,0,.15),0 4px 13px rgba(0,0,0,.07);
  font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;
  overflow:hidden;
}
#gatherPreviewView::backdrop{
  background:rgba(25,27,25,.29);
  -webkit-backdrop-filter:blur(1.5px);
  backdrop-filter:blur(1.5px);
}
#gatherPreviewView button{font-family:inherit}
.gather-main-close{
  position:absolute;
  right:21px;top:20px;z-index:4;
  display:flex;align-items:center;justify-content:center;
  width:34px;height:34px;border-radius:50%;
  color:#b7b9b8;background:#fff;border:1.5px solid #c9ccca;
  font-size:25px;font-weight:300;line-height:1;cursor:pointer;
}
.gather-main-close:hover,.gather-main-close:focus-visible{
  color:#333;border-color:#8b908b;background:#f7f8f7
}
.gather-main-landing{
  min-height:100%;width:100%;box-sizing:border-box;
  padding:60px 32px 58px;
  display:flex;flex-direction:column;justify-content:center;align-items:center;
}
.gather-main-landing[hidden]{display:none!important}
.gather-intro{text-align:center;max-width:460px}
.gather-intro h2{
  font-size:30px;letter-spacing:-.95px;line-height:1.15;
  font-weight:760;color:#080808;margin:0 0 12px;
}
.gather-intro p{font-size:15px;line-height:1.22;color:#868886;margin:0 auto;max-width:375px}
.gather-section-cards{
  width:min(700px,100%);display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
  gap:17px;margin-top:52px;
}
.gather-section-card{
  min-width:0;height:285px;position:relative;
  display:flex;flex-direction:column;align-items:stretch;text-align:left;
  background:#fbfbfb;border:1px solid #f6f6f6;border-radius:20px;
  padding:17px 16px;cursor:pointer;color:#111;
  box-shadow:0 2px 18px rgba(0,0,0,.013);
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}
.gather-section-card:not(:disabled):hover{
  transform:translateY(-3px);border-color:#e9eeea;
  box-shadow:0 10px 29px rgba(0,0,0,.065)
}
.gather-section-card:focus-visible{outline:2px solid #7a9770;outline-offset:3px}
.gather-section-overline{font-size:10px;line-height:1.25;color:#999c99;margin-bottom:6px}
.gather-section-label{font-size:21px;font-weight:750;line-height:1.14;letter-spacing:-.45px;color:#121212}
.gather-section-art{height:173px;display:flex;align-items:center;justify-content:center;min-height:0;flex:1;margin-bottom:16px;overflow:hidden}
.gather-image-outline{width:78px;height:78px;color:#8e928f}
.gather-announcement-art{
  align-self:flex-start;text-align:left;overflow:hidden;
  font-family:Georgia,serif;font-size:15px;line-height:1.25;
  color:#d0d3cf;letter-spacing:-.15px;
  -webkit-mask-image:linear-gradient(180deg,#000 0%,transparent 96%);
  mask-image:linear-gradient(180deg,#000 0%,transparent 96%);
}
.gather-section-add{
  position:absolute;bottom:16px;right:15px;width:25px;height:25px;
  display:flex;align-items:center;justify-content:center;border-radius:50%;
  color:#858a86;border:1px solid #e5e9e4;
  background:#fff;font-size:19px;font-weight:300;line-height:1;
  box-shadow:0 2px 5px rgba(0,0,0,.035);
}
.gather-section-coming-soon{
  font:600 10px "Helvetica Neue",Arial,sans-serif;color:#a2a5a2;
  position:absolute;left:16px;bottom:17px;
}
.gather-detail-view{
  height:100%;padding:65px 55px 40px;overflow-y:auto;
  box-sizing:border-box;overscroll-behavior:contain;
}
.gather-detail-view[hidden]{display:none!important}
.gather-detail-back{
  padding:0;border:0;background:none;color:#777e77;
  font-size:12px;font-weight:650;cursor:pointer;margin:0 0 22px;
}
.gather-detail-back:hover{color:#2c372b}
.gather-detail-header{display:flex;justify-content:space-between;align-items:flex-end;gap:18px;margin-bottom:24px}
.gather-detail-eyebrow{font-size:11px;letter-spacing:.1em;font-weight:650;color:#9ca19d;margin:0 0 5px}
.gather-detail-header h2{font-size:27px;letter-spacing:-.6px;font-weight:750;margin:0 0 6px}
.gather-detail-header p{font-size:12px;line-height:1.45;color:#8b908b;margin:0}
.gather-design-badge{background:#f2f5ef;border:1px solid #e2e9df;border-radius:30px;color:#6b8361;font-size:10px;padding:7px 12px;font-weight:700;white-space:nowrap}
.gather-storage-card{
  border:1px solid #e9ece7;border-radius:17px;
  padding:20px 22px;background:#fafbfa;margin:0 0 26px;
}
.gather-storage-top{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-bottom:13px}
.gather-storage-top strong{font-size:15px;color:#303630}
.gather-storage-top span{font-size:14px;color:#515a50}
.gather-storage-top small{color:#a0a69f;font-size:12px}
.gather-storage-track{height:9px;border-radius:30px;background:#e6ebe4;overflow:hidden}
.gather-storage-fill{height:100%;width:43.33%;border-radius:30px;background:#80a474}
.gather-storage-sub{display:flex;justify-content:space-between;color:#888e88;font-size:11px;margin-top:9px}
.gather-detail-action-row{display:flex;justify-content:space-between;gap:16px;align-items:center;margin:0 0 16px}
.gather-detail-action-row h3{margin:0;font-size:19px;letter-spacing:-.3px;font-weight:700}
.gather-detail-action-row p{font-size:11px;color:#939993;margin:6px 0 0}
.gather-primary-button{
  cursor:pointer;background:#252a25;color:#fff;border:1px solid #252a25;
  border-radius:10px;padding:11px 15px;font-size:12px;font-weight:650;white-space:nowrap
}
.gather-primary-button:hover{background:#414a40}
.gather-filter-row{display:flex;gap:9px;align-items:center;margin-bottom:15px}
.gather-search{
  flex:1;border:1px solid #e3e7e2;border-radius:11px;background:#fff;
  padding:10px 13px;font-size:12px;min-width:0;height:42px;
}
.gather-search:focus{border-color:#8ca988;outline:1px solid #8ca988}
.gather-filter-select{
  height:42px;min-width:140px;width:auto!important;
  padding:8px 11px!important;border:1px solid #e3e7e2!important;
  font-size:12px!important;border-radius:11px!important
}
/* Borderless product photo sets: stack, title and listing status only. */
.gather-product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px 24px;align-items:start}
.gather-product-tile{
  display:flex;flex-direction:column;align-items:stretch;text-align:left;
  min-width:0;width:100%;padding:0;background:transparent;border:0;
  border-radius:0;overflow:visible;cursor:pointer;color:#202620;
  font-family:inherit;appearance:none;-webkit-appearance:none;
}
.gather-product-tile:hover{box-shadow:none}
.gather-product-tile:focus-visible{outline:2px solid #12b200;outline-offset:4px;border-radius:7px}
.gather-product-picture{height:138px;background:#f4f4f1;display:flex;justify-content:center;overflow:hidden}
.gather-product-picture svg{width:190px;height:100%}
.gather-product-tile>.gather-product-picture{
  width:100%;height:158px;box-sizing:border-box;background:transparent;
  overflow:visible;margin-bottom:8px;
}
.gather-product-tile>.gather-product-picture:not(.gather-product-stack){padding:12px 16px 14px}
.gather-product-tile>.gather-product-picture:not(.gather-product-stack) .gather-real-thumbnail{
  border:1px solid #e5e8e3;border-radius:7px;box-sizing:border-box;
}
.gather-product-tile .gather-product-details{padding:0 8px 4px;min-width:0}
.gather-product-tile .gather-product-details strong{display:block;font-size:14px;font-weight:700;margin:0 0 4px;line-height:1.3;overflow-wrap:anywhere}
.gather-product-tile .gather-product-meta{display:block;font-size:12px;line-height:1.2}
.gather-product-tile .gather-product-status{color:#12b200;font-size:12px;font-weight:500}
.gather-product-tile .gather-product-status.listed{color:#888}
.gather-product-tile .gather-product-status.draft{color:#b1945a}
.gather-preview-note{color:#979d95;font-size:11px;line-height:1.45;margin-top:18px}
.gather-empty{grid-column:1/-1;text-align:center;padding:45px 15px;font-size:13px;color:#89918b;border:1px dashed #e3e6e1;border-radius:13px}
#gatherPreviewDialog{border:1px solid #e0e4dd;border-radius:20px;max-width:min(470px,calc(100% - 30px));width:100%;padding:0;background:white;box-shadow:0 28px 80px #0002;color:#242824}
#gatherPreviewDialog::backdrop{background:#20282070;backdrop-filter:blur(2px)}
.gather-preview-modal-body{padding:28px}
.gather-preview-modal-top{display:flex;justify-content:space-between;gap:12px;align-items:start}
.gather-preview-modal-title{font-size:23px;font-weight:730;letter-spacing:-.7px;margin:0 0 7px}
.gather-preview-modal-copy{font-size:13px;color:#797e77;line-height:1.55}
.gather-preview-close{border:0;background:#f4f6f2;border-radius:50%;width:34px;height:34px;cursor:pointer;color:#6e736c;font-size:22px}
.gather-preview-modal-buttons{display:flex;flex-direction:column;gap:9px;margin-top:24px}
.gather-preview-modal-buttons button{padding:12px;border-radius:11px;border:1px solid #e5e8e1;background:#f8faf7;color:#384037;font-weight:650;cursor:pointer}
.gather-preview-modal-buttons button.primary{background:#282d28;color:#fff;border-color:#282d28}
.gather-preview-modal-mini{border-radius:12px;background:#f5f6f3;padding:12px 15px;margin-top:17px;color:#6b726a;font-size:12px}
@media(max-width:780px){
 #gatherPreviewView{width:calc(100vw - 28px);height:min(700px,calc(100dvh - 30px));border-radius:23px}
 .gather-main-landing{padding:68px 20px 40px}
 .gather-section-cards{gap:9px;margin-top:36px}
 .gather-section-card{height:245px;padding:12px;border-radius:14px}
 .gather-section-label{font-size:17px}
 .gather-section-overline{font-size:9px}
 .gather-announcement-art{font-size:12px}
 .gather-image-outline{width:60px;height:60px}
 .gather-detail-view{padding:65px 25px 32px}
 .gather-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:540px){
 #gatherPreviewView{width:calc(100vw - 18px);height:calc(100dvh - 20px);border-radius:19px}
 .gather-main-close{top:14px;right:14px}
 .gather-main-landing{justify-content:flex-start;overflow-y:auto;padding:77px 24px 28px}
 .gather-intro h2{font-size:27px}
 .gather-intro p{font-size:13px}
 .gather-section-cards{width:100%;grid-template-columns:1fr;margin-top:29px;gap:11px}
 .gather-section-card{height:144px;padding:15px 17px}
 .gather-section-label{font-size:19px}
 .gather-section-art{position:absolute;right:35px;top:20px;height:100px;width:110px;opacity:.65}
 .gather-announcement-art{font-size:10px;width:110px}
 .gather-section-add{bottom:12px;right:14px}
 .gather-section-coming-soon{bottom:18px}
 .gather-detail-view{padding:62px 17px 28px}
 .gather-detail-header{align-items:flex-start}
 .gather-detail-header h2{font-size:24px}
 .gather-storage-card{padding:17px}
 .gather-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .gather-product-picture{height:112px}
 .gather-product-details{padding:10px}
 .gather-detail-action-row{align-items:flex-start}
 .gather-primary-button{font-size:11px;padding:10px}
 .gather-filter-row{flex-direction:column;align-items:stretch}
 .gather-filter-select{width:100%!important}
}
@media(prefers-reduced-motion:reduce){.gather-section-card{transition:none}}

/* Development-only real Assets thumbnails in the existing product tile. */
.gather-real-thumbnail{width:100%;height:100%;object-fit:cover;display:block}
.gather-primary-button:disabled{opacity:.45;cursor:not-allowed}

/* Single-photo uploader; isolated Gather Development modal. */
#gatherUploadDialog{border:1px solid #e0e4dd;border-radius:20px;width:min(460px,calc(100vw - 32px));max-width:none;padding:0;background:#fff;box-shadow:0 28px 80px #0002;color:#242824}
#gatherUploadDialog::backdrop{background:#20282070;backdrop-filter:blur(2px)}
.gather-upload-form{padding:28px;display:flex;flex-direction:column;gap:9px}
.gather-upload-form label{font-size:12px;font-weight:650;margin-top:8px}
.gather-upload-form input{font:inherit;font-size:13px;width:100%;box-sizing:border-box;border:1px solid #e1e6df;border-radius:10px;padding:11px 12px;background:#fff}
.gather-upload-form input[type=file]{font-size:12px}
.gather-upload-form input:disabled{opacity:.7;background:#f7f7f5}
.gather-upload-form progress{width:100%;height:9px;margin-top:8px;accent-color:#729d64}
.gather-upload-status{min-height:20px;color:#566b4e;font-size:12px;margin:4px 0;line-height:1.45}
.gather-upload-status.error{color:#a13c31}
.gather-upload-actions{display:flex;gap:9px;justify-content:flex-end;align-items:center;flex-wrap:wrap}
.gather-upload-secondary{border:1px solid #e1e6df;border-radius:10px;background:#fff;padding:11px 13px;font-size:12px;cursor:pointer}
/* Archive deletion confirmation uses the existing Gather modal. */
.gather-delete-ack{display:flex;align-items:flex-start;gap:10px;margin:18px 0;font-size:13px;line-height:1.5;color:#343a34}
.gather-delete-ack input{width:18px;height:18px;flex:0 0 18px;margin:2px 0 0;accent-color:#282e28}
#gatherPreviewDialog button:disabled{opacity:.45;cursor:not-allowed}
.gather-photo-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:16px 0}
.gather-photo-gallery figure{margin:0;min-width:0}
.gather-photo-gallery .gather-product-picture{height:110px;min-height:0}
.gather-photo-gallery figcaption{font-size:11px;margin-top:5px;color:#616861}
#gatherPreviewDialog{max-height:85vh;overflow-y:auto}
#gatherUploadSelection{overflow-wrap:anywhere;font-size:12px}
/* Individual photographs overlap like loose prints; no card or tinted panel. */
.gather-product-picture.gather-product-stack{position:relative;isolation:isolate;box-sizing:border-box;padding:13px 15px 15px;background:transparent;overflow:visible}
.gather-product-stack::before,.gather-product-stack::after{
  content:"";position:absolute;inset:16px 20px 18px;border:1px solid #dedede;
  border-radius:7px;background:#fff;box-shadow:0 2px 6px #00000012;
}
.gather-product-stack::before{transform:translate(-4px,2px) rotate(-6deg);z-index:0}
.gather-product-stack::after{transform:translate(4px,-1px) rotate(5deg);z-index:1}
.gather-product-stack .gather-real-thumbnail{position:relative;z-index:2;width:100%;height:100%;object-fit:cover;border-radius:7px;border:1px solid #e1e1e1;box-sizing:border-box}
.gather-stack-count{position:absolute;right:5px;bottom:3px;z-index:3;background:#fff;color:#282e28;padding:4px 8px;border-radius:20px;font-size:10px;font-weight:700;white-space:nowrap;box-shadow:0 1px 5px #0002}
.gather-product-tile:hover .gather-real-thumbnail{box-shadow:0 4px 12px #00000014}
/* Archive manage mode: clearly mark selected photo stacks without boxing the cards. */
/* Owner-only action: compact floating trash control, matching the Archive reference. */
#gatherBulkDelete[hidden]{display:none!important}
.gather-archive-trash{
 position:absolute;right:25px;bottom:22px;z-index:5;display:flex;
 align-items:center;justify-content:center;width:62px;height:62px;
 background:#fff;color:#222;border:1px solid #ededed;border-radius:50%;
 box-shadow:0 3px 9px #00000018;cursor:pointer;appearance:none;
}
.gather-archive-trash:hover{background:#f7f8f7;box-shadow:0 6px 16px #00000024}
.gather-archive-trash:focus-visible{outline:2px solid #12b200;outline-offset:3px}
.gather-archive-trash:disabled{opacity:.5;cursor:not-allowed}
.gather-archive-trash svg{width:28px;height:28px}
.gather-trash-count{
 position:absolute;top:-5px;right:-5px;min-width:20px;height:20px;
 display:flex;align-items:center;justify-content:center;
 background:#12b200;color:#fff;border:2px solid #fff;border-radius:50%;
 font-size:10px;font-weight:700;padding:0 3px;box-sizing:border-box;
}
@media(max-width:540px){
 .gather-archive-trash{width:52px;height:52px;right:14px;bottom:14px}
 .gather-archive-trash svg{width:24px;height:24px}
}
.gather-product-tile.gather-selectable{position:relative}
.gather-product-tile.gather-selectable .gather-product-picture{cursor:pointer}
.gather-product-tile.gather-selectable.is-selected .gather-real-thumbnail{outline:2px solid #12b200;outline-offset:2px}
.gather-stack-selected-check{
 position:absolute;z-index:5;top:1px;right:1px;width:28px;height:28px;
 display:flex;align-items:center;justify-content:center;box-sizing:border-box;
 border:2px solid #fff;border-radius:50%;background:#12b200;
 box-shadow:0 2px 8px #00000024;pointer-events:none
}
.gather-stack-selected-check svg{width:18px;height:18px}
@media(max-width:540px){
 .gather-detail-actions{width:100%;justify-content:flex-end;gap:7px}
 .gather-stack-selected-check{width:23px;height:23px}
 .gather-stack-selected-check svg{width:15px;height:15px}
}

@media(max-width:540px){
 .gather-product-grid{gap:15px 10px}
 .gather-product-tile>.gather-product-picture{height:118px;margin-bottom:6px}
 .gather-product-picture.gather-product-stack{padding:10px 11px 12px}
 .gather-product-stack::before,.gather-product-stack::after{inset:12px 15px 14px}
 .gather-product-tile .gather-product-details{padding:0 3px 3px}
 .gather-product-tile .gather-product-details strong{font-size:12px}
 .gather-product-tile .gather-product-status{font-size:11px}
 .gather-stack-count{right:1px;bottom:1px;padding:3px 6px;font-size:9px}
}


/* Gather landing cards: reference-led redesign, no functional changes. */
.gather-section-cards{width:min(790px,100%);gap:16px;margin-top:43px}
.gather-section-card{height:302px;border-radius:25px;background:#fafafa;border:1px solid #f1f1f1;padding:18px 17px;overflow:hidden;box-shadow:0 5px 19px #00000006}
.gather-section-overline{font-size:11px;line-height:1.3;font-weight:400;color:#929292;margin-bottom:8px}
.gather-section-label{font-size:25px;line-height:1.07;letter-spacing:-.85px;font-weight:750;color:#080808;position:relative;z-index:2}
.gather-section-art{height:auto;min-height:0;flex:1;margin:0 0 8px;display:flex;align-items:center;justify-content:center;overflow:visible}
.gather-card-assets .gather-image-outline{width:112px;height:112px;color:#414141}
.gather-section-add{width:30px;height:30px;right:15px;bottom:14px;background:transparent;border:1.7px solid #262626;color:#202020;font-size:24px;font-weight:500;box-shadow:none}
.gather-section-coming-soon{bottom:22px;left:18px;font-size:10px;font-weight:500;color:#929292}
.gather-archive-symbol{display:block;position:relative;width:150px;height:150px;color:#393939}
.gather-archive-symbol>svg{display:block;width:100%;height:100%}
.gather-archive-check{position:absolute;right:5px;bottom:12px;width:42px;height:42px;border-radius:50%;background:#13bd00;display:flex;align-items:center;justify-content:center}
.gather-archive-check svg{width:27px;height:27px}
.gather-card-notes{position:relative;display:block;flex:1;min-height:0;margin-top:7px}
.gather-sticky{position:absolute;width:107px;height:128px;border-radius:15px;background:#f5f5f4;box-shadow:0 5px 12px #00000012;display:block;padding:17px 10px 9px;box-sizing:border-box}
.gather-sticky-first{top:6px;left:2px;transform:rotate(5deg)}
.gather-sticky-second{top:66px;right:0;transform:rotate(-8deg)}
.gather-sticky-paper{display:block;height:100%;box-sizing:border-box;padding:14px 9px 5px;background:linear-gradient(160deg,#75c957 0%,#a0df72 55%,#e6fa89 100%);border-radius:10px;color:#101810;font-size:10px;line-height:1.3;font-weight:500}
.gather-sticky-pin{position:absolute;top:8px;left:50%;transform:translateX(-50%);width:10px;height:10px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#70f75c,#12c100 60%,#0b9700);box-shadow:0 2px 5px #1d980052;z-index:2}
@media(max-width:780px){
 .gather-section-cards{width:100%;gap:9px;margin-top:30px}
 .gather-section-card{height:270px;padding:12px;border-radius:17px}
 .gather-section-label{font-size:20px}
 .gather-section-overline{font-size:9px}
 .gather-sticky{width:83px;height:111px;padding:15px 7px 7px}
 .gather-sticky-paper{font-size:8px;padding:11px 6px 4px}
 .gather-sticky-second{top:55px}
 .gather-archive-symbol{width:110px;height:110px}
 .gather-archive-check{width:32px;height:32px;right:4px;bottom:8px}
 .gather-archive-check svg{width:21px;height:21px}
 .gather-card-assets .gather-image-outline{width:83px;height:83px}
}
@media(max-width:540px){
 .gather-section-cards{grid-template-columns:1fr;gap:12px;margin-top:28px}
 .gather-section-card{height:172px;padding:16px}
 .gather-section-label{font-size:23px}
 .gather-section-art{position:absolute;right:55px;top:28px;width:120px;height:120px;opacity:1;margin:0}
 .gather-card-notes{position:absolute;right:57px;top:10px;width:130px;height:145px;margin:0}
 .gather-sticky{width:76px;height:92px;padding:12px 7px 6px}
 .gather-sticky-first{top:0;left:0}
 .gather-sticky-second{top:34px;right:0}
 .gather-sticky-paper{font-size:7px;padding:9px 5px 3px}
 .gather-sticky-pin{width:8px;height:8px;top:5px}
 .gather-card-assets .gather-image-outline{width:83px;height:83px}
 .gather-archive-symbol{width:110px;height:110px}
 .gather-section-add{right:12px;bottom:12px}
 .gather-section-coming-soon{bottom:17px}
}
