:root{--paper:#f4f2ed;--ink:#202a26;--muted:#777c73;--line:#dedfd6;--accent:#dbe6bc;--white:#fff;--radius:14px}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:15px/1.5 "Segoe UI",Arial,sans-serif}button,input,select{font:inherit}button,.button{border:1px solid var(--line);background:transparent;color:var(--ink);border-radius:9px;cursor:pointer;padding:10px 15px;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:8px}button:hover,.button:hover{background:#e9e9e0}button:disabled{opacity:.55;cursor:wait}.primary{background:var(--ink);color:white;border-color:var(--ink)}.primary:hover{background:#37453e}.quiet{border-color:transparent;color:var(--muted)}input,select{border:1px solid var(--line);border-radius:9px;background:#fff;padding:10px 12px;color:var(--ink);min-width:0}input:focus,select:focus,button:focus-visible,a:focus-visible{outline:2px solid #80924e;outline-offset:3px}[hidden]{display:none!important}.header{height:82px;padding:0 42px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:13px;color:var(--ink);text-decoration:none;font-weight:700;letter-spacing:2px;font-size:17px}.mark{font:italic 37px Georgia,serif;letter-spacing:-4px}.brand-sub{font-size:10px;font-weight:500;color:var(--muted);letter-spacing:1.6px;border-left:1px solid var(--line);padding-left:17px;margin-left:7px}nav{display:flex;gap:10px}main#catalog{max-width:1700px;margin:auto;padding:38px 42px 130px}.intro{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:26px}.eyebrow{font-size:10px;letter-spacing:2.1px;font-weight:700;color:var(--muted)}h1{font:42px/1.18 Georgia,"Times New Roman",serif;margin:11px 0}h2{font-size:20px;margin:8px 0}p{color:var(--muted);margin:9px 0}.intro p{font-size:14px}.sync-status{font-size:12px;color:var(--muted);max-width:250px}.sync-status::before{content:"";display:inline-block;width:6px;height:6px;background:#90a166;border-radius:50%;margin:0 8px 1px 0}.controls{display:flex;gap:12px;margin-bottom:28px}.search-wrap{display:flex;align-items:center;background:white;border:1px solid var(--line);border-radius:11px;flex:1;padding:0 16px;gap:12px}.search-wrap>span{font-size:28px;color:var(--muted)}.search-wrap input{border:0;width:100%;background:none;padding:14px 0;outline:none}kbd{background:var(--paper);border:1px solid var(--line);border-radius:4px;padding:1px 6px;color:var(--muted)}#favorite-filter[aria-pressed=true]{background:var(--accent);border-color:#b4c489}.workspace{display:grid;grid-template-columns:205px 1fr;gap:32px}aside{padding-top:4px}aside h2{font-size:11px;letter-spacing:1.6px;text-transform:uppercase;color:var(--muted);margin:8px 0 16px}.category{display:flex;justify-content:space-between;width:100%;border:0;padding:10px 11px;margin:3px 0;text-align:left;gap:10px;font-size:13px}.category span:first-child{flex:1}.category span:last-child{color:var(--muted);font-size:11px}.category.active{background:var(--accent);font-weight:600}.sidebar-note{border-top:1px solid var(--line);margin-top:30px;padding:19px 10px;font-size:11px;color:var(--muted);line-height:1.8}.filters{display:flex;gap:10px;align-items:flex-end;flex-wrap:wrap}.filters label{font-size:10px;letter-spacing:.3px;color:var(--muted);display:flex;flex-direction:column;gap:5px}.filters select,.filters input{padding:8px;font-size:12px;max-width:150px}.filters .sort{margin-left:auto}.filters .quiet{padding:8px;font-size:12px}.results{display:flex;justify-content:space-between;align-items:center;margin:19px 0 14px;font-size:12px;color:var(--muted)}.results button{padding:5px;font-size:12px}.gallery{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px 18px}.photo-card{position:relative}.photo-surface{background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden;position:relative;aspect-ratio:4/5;cursor:zoom-in}.photo-surface img{width:100%;height:100%;object-fit:contain;display:block;transition:transform .2s}.photo-surface:hover img{transform:scale(1.025)}.photo-card.selected .photo-surface{outline:2px solid #71814b;outline-offset:1px}.photo-select{position:absolute;top:12px;left:12px;z-index:1;width:22px;height:22px;margin:0;accent-color:var(--ink);cursor:pointer}.favorite{position:absolute;top:10px;right:10px;z-index:1;padding:0;width:32px;height:32px;background:#ffffffec;border-radius:50%;font-size:22px;border-color:#e0e0d5}.favorite.on{color:#7d8c3d;background:#f0f5e0}.photo-caption{padding:10px 2px}.photo-caption strong{font-size:13px;font-weight:600;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.photo-caption small{font-size:11px;color:var(--muted);display:block;margin-top:3px}.tag{position:absolute;left:12px;bottom:12px;background:#f6f6edeb;border-radius:4px;padding:3px 7px;font-size:10px;letter-spacing:.2px}.more{margin:30px auto;display:flex;min-width:180px}.empty{text-align:center;padding:85px 20px}.empty-icon{font-size:50px;color:#8b9478}.empty h2{font:26px Georgia,serif}.selection{position:fixed;bottom:22px;left:50%;transform:translateX(-50%);z-index:5;width:min(830px,calc(100% - 36px));background:#fff;border:1px solid var(--line);box-shadow:0 10px 45px #202a2626;border-radius:14px;padding:14px 18px;display:flex;justify-content:space-between;align-items:center;gap:20px}.selection>div:first-child{display:flex;flex-direction:column;align-items:flex-start}.selection .quiet{padding:0;font-size:11px}.selection-actions{display:flex;gap:9px}.selection-actions button{font-size:12px;padding:10px 13px}dialog{padding:26px;border:1px solid var(--line);border-radius:16px;max-width:1000px;width:calc(100% - 32px);color:var(--ink);box-shadow:0 20px 90px #0003}dialog::backdrop{background:#19211edd;backdrop-filter:blur(3px)}.dialog-close{position:absolute;top:10px;right:12px;z-index:2;width:35px;height:35px;border:0;font-size:27px;padding:0;background:#f4f2edef}.viewer-image{height:min(70vh,800px);display:flex;align-items:center;justify-content:space-between;gap:10px}.viewer-image img{max-width:calc(100% - 95px);height:100%;object-fit:contain;min-width:0}.viewer-image button{flex:0 0 32px;font-size:30px;padding:0;border:0}.viewer-caption{display:flex;justify-content:space-between;align-items:center;gap:20px;padding-top:20px}.viewer-caption h2{font-size:16px;word-break:break-word}.viewer-caption p{font-size:12px}.small-dialog{max-width:470px;padding:35px}.small-dialog h2{font:29px Georgia,serif;margin:12px 0}.small-dialog p{font-size:13px}.small-dialog label,.login label{display:block;font-size:12px;margin:17px 0 7px}.small-dialog input,.small-dialog select,.login input{width:100%}.small-dialog form>.primary{width:100%;margin-top:22px}.share-actions{display:flex;gap:10px;margin-top:14px}.share-actions button{flex:1;font-size:12px}.collection{padding:15px 0;border-bottom:1px solid var(--line)}.collection strong{display:block}.collection small{color:var(--muted)}.collection button{margin-top:7px;font-size:11px}.login{display:grid;place-items:center;min-height:calc(100vh - 82px);padding:35px}.login-card{max-width:430px;width:100%}.login-card h1{font-size:52px;margin:18px 0}.login-card p{font-size:14px}.login form{margin-top:28px}.login .primary{width:100%;margin-top:15px;justify-content:space-between}.error{color:#a03b30!important;min-height:20px}#toast{position:fixed;bottom:110px;left:50%;transform:translateX(-50%);background:var(--ink);color:#fff;padding:12px 20px;border-radius:10px;z-index:20;max-width:min(500px,calc(100% - 30px));font-size:13px;text-align:center}@media(min-width:1500px){.gallery{grid-template-columns:repeat(5,minmax(0,1fr))}}@media(max-width:1150px){.gallery{grid-template-columns:repeat(3,minmax(0,1fr))}.workspace{grid-template-columns:170px 1fr;gap:22px}.filters .sort{margin-left:0}}@media(max-width:850px){.header{padding:0 22px;height:70px}.brand-sub{display:none}main#catalog{padding:26px 22px 140px}h1{font-size:35px}.intro{align-items:flex-start;flex-direction:column;gap:10px}.workspace{display:block}aside h2,.sidebar-note{display:none}#categories{display:flex;overflow-x:auto;gap:7px;margin-bottom:15px;padding-bottom:6px}.category{width:auto;white-space:nowrap;background:#eaeae2;border-radius:20px;padding:7px 12px;flex-shrink:0}.gallery{gap:16px 12px}.filters{gap:8px}.filters label{flex:1;min-width:90px}.filters select,.filters input{max-width:none;width:100%}.selection{bottom:12px;padding:12px;gap:8px}.selection-actions{gap:6px}.selection-actions button{padding:9px;font-size:11px}#send-files{display:none}}@media(max-width:520px){.header{padding:0 16px}.brand{font-size:14px}.header nav{gap:0}.header nav button{font-size:11px;padding:7px}main#catalog{padding:24px 16px 145px}h1{font-size:31px}.controls{gap:8px;margin-bottom:18px}.controls button{font-size:11px;padding:9px}.search-wrap{padding:0 10px;gap:7px}.search-wrap input{font-size:12px}.search-wrap kbd{display:none}.gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.photo-caption strong{font-size:12px}.photo-caption small{font-size:10px}.photo-select{top:9px;left:9px}.tag{font-size:9px;left:9px;bottom:9px}.selection strong{font-size:12px}.selection-actions .primary{max-width:120px;line-height:1.3}.viewer-image{height:60vh;gap:2px}.viewer-image img{max-width:calc(100% - 58px)}.viewer-image button{flex-basis:26px}.viewer-caption{align-items:flex-start;flex-direction:column;gap:8px}dialog{padding:18px}.small-dialog{padding:30px 22px}.login{padding:25px}.login-card h1{font-size:44px}}
.shared-workspace{display:block}
.selection-actions{flex-wrap:wrap;justify-content:flex-end}
@media(max-width:850px){#send-files:not([hidden]){display:inline-flex}}

/* Larger, readable labels without changing the photographs. */
body{font-size:20.7px}
.brand{font-size:19.55px}
.brand-sub{font-size:13.8px}
h1{font-size:48.3px}
h2{font-size:23px}
.small-dialog h2{font-size:33.35px}
.empty h2{font-size:29.9px}
.login-card h1{font-size:59.8px}
.eyebrow,aside h2{font-size:16.1px}
.intro p{font-size:20.7px}
.sync-status{font-size:18.4px;max-width:390px}
.category{font-size:20.7px;line-height:1.4}
.category span:last-child{font-size:18.4px}
.sidebar-note{font-size:17.25px}
.filters label{font-size:18.4px;letter-spacing:0}
.filters select,.filters input{font-size:20.7px;max-width:235px;padding:10px}
.filters .quiet,.results,.results button{font-size:18.4px}
.photo-caption strong{font-size:20.7px;line-height:1.4;white-space:normal;overflow-wrap:anywhere;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3}
.photo-caption small{font-size:18.4px}
.tag{font-size:16.1px;padding:4px 8px}
.selection strong{font-size:20.7px}
.selection .quiet{font-size:17.25px}
.selection-actions button{font-size:18.4px}
.viewer-caption h2{font-size:23px}
.viewer-caption p,.small-dialog p,.small-dialog label,.login label,.share-actions button,.collection button,.login-card p,#toast{font-size:18.4px}
@media(min-width:851px){
  .workspace{grid-template-columns:285px minmax(0,1fr)}
  .category{line-height:1.25;padding:6px 11px;margin:1px 0}
}
@media(min-width:851px) and (max-width:1150px){.workspace{grid-template-columns:260px minmax(0,1fr)}}
@media(max-width:850px){
  h1{font-size:40.25px}
  .filters label{min-width:145px}
  .filters select,.filters input{max-width:none}
  main#catalog{padding-bottom:230px}
  .selection{align-items:flex-start}
  .selection>div:first-child{flex-shrink:0;max-width:100px}
  .selection-actions button{font-size:18.4px}
  #toast{bottom:215px}
}
@media(max-width:520px){
  h1{font-size:35.65px}
  .login-card h1{font-size:50.6px}
  .brand{font-size:16.1px}
  .header nav button{font-size:17.25px}
  .controls button,.search-wrap input{font-size:18.4px}
  .photo-caption strong{font-size:20.7px}
  .photo-caption small{font-size:18.4px}
  .tag{font-size:16.1px}
  .selection{flex-direction:column}
  .selection>div:first-child{max-width:none;flex-direction:row;align-items:center;justify-content:space-between;width:100%}
  .selection-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}
  .selection-actions .primary{max-width:none}
  main#catalog{padding-bottom:280px}
  #toast{bottom:270px}
}

/* Keep each preview 1.5 times its original responsive card width. */
.gallery{
  --original-columns:4;
  --original-gaps:3;
  --preview-gap:18px;
  --preview-width:calc((100% - var(--original-gaps) * var(--preview-gap)) / var(--original-columns) * 1.5);
  grid-template-columns:repeat(auto-fill,min(100%,var(--preview-width)));
  justify-content:center;
}
@media(min-width:1500px){.gallery{--original-columns:5;--original-gaps:4}}
@media(max-width:1150px){.gallery{--original-columns:3;--original-gaps:2}}
@media(max-width:850px){.gallery{--preview-gap:12px}}
@media(max-width:520px){.gallery{--original-columns:2;--original-gaps:1}}

/* Official Florens Group identity: original site SVG, gold and dark slate. */
:root{--paper:#f7f6f2;--ink:#313647;--muted:#626674;--line:#dedbd1;--accent:#f0e7cc;--brand-gold:#c6a436}
.header{background:#313647;border-bottom:3px solid var(--brand-gold)}
.header nav button{color:#fff;border-color:#626674}.header nav button:hover{background:#454b5e}
.brand{gap:22px}.brand img{width:276px;height:52px;object-fit:contain}.brand-sub{color:#eee6d0}
.primary{background:var(--ink);border-color:var(--ink)}.primary:hover{background:#474d61}
.category.active{background:var(--accent);box-shadow:inset 3px 0 var(--brand-gold)}
input:focus,select:focus,button:focus-visible,a:focus-visible{outline-color:var(--brand-gold)}
.favorite.on{color:#86691a}.tag{background:#fff9e8;color:#313647}
.gallery{display:block}.order-group{margin:0 0 42px}.order-heading{font-size:28px;margin:12px 0 12px;padding-bottom:9px;border-bottom:2px solid var(--brand-gold);letter-spacing:0}
.series-heading{font-size:20.7px;margin:12px 0;color:var(--muted)}
.order-grid{display:grid;gap:24px 18px;grid-template-columns:repeat(3,minmax(0,1fr));margin-bottom:24px}.order-grid .photo-card,.gallery-section{min-width:0}
#viewer{width:96vw;max-width:1800px;max-height:96vh;padding:32px 28px 24px}
.viewer-image{height:76vh;overflow:auto;position:relative;align-items:center}
.viewer-image img{height:100%;max-width:calc(100% - 100px);cursor:zoom-in}
.viewer-caption{padding-top:14px;flex-wrap:wrap}.viewer-caption h2{margin:0;font-size:23px}.viewer-caption p{margin:4px 0}
#viewer.zoomed .viewer-image{display:block;overflow:auto}#viewer.zoomed .viewer-image img{max-width:none;width:auto;height:auto;max-height:none;cursor:zoom-out}
#viewer.zoomed .viewer-image button{position:sticky;top:40%;z-index:1;background:#fff}#viewer.zoomed #next{float:right}
@media(max-width:850px){.brand img{width:210px}.brand-sub{display:none}.order-heading{font-size:25px}#viewer{padding:30px 10px 12px}.viewer-image{height:66vh}.viewer-image img{max-width:calc(100% - 62px)}.viewer-caption{gap:10px}.viewer-caption h2{font-size:20.7px}}
@media(max-width:520px){.header{padding:10px 16px;height:auto;min-height:82px;flex-wrap:wrap;gap:8px}.brand img{width:180px;height:42px}.header nav{gap:4px}.header nav button{font-size:16px;padding:7px 10px}.viewer-caption .button,.viewer-caption button{font-size:18.4px}}
@media(max-width:760px){.order-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 12px}}
@media(max-width:520px){.order-grid{grid-template-columns:minmax(0,1fr)}}
#viewer.fullscreen-mode[open]{position:fixed;inset:0;margin:0;width:100vw;height:100vh;height:100dvh;max-width:none;max-height:none;border:0;border-radius:0;padding:48px 24px 16px;display:flex;flex-direction:column}
html.viewer-fullscreen,html.viewer-fullscreen body{overflow:hidden}
#viewer.fullscreen-mode .viewer-image{flex:1;min-height:0;height:auto}
#viewer.fullscreen-mode:not(.zoomed) .viewer-image img{max-height:100%;height:100%;width:auto}
#viewer.fullscreen-mode .viewer-caption{flex:none;max-height:30vh;overflow:auto;gap:12px}
#viewer.fullscreen-mode .viewer-caption>div{flex:1 1 280px}
#viewer.fullscreen-mode .dialog-close{width:44px;height:36px}
#viewer.fullscreen-mode #viewer-loading{position:absolute;left:24px;top:7px;margin:0;font-size:18px}
@media(max-width:520px){#viewer.fullscreen-mode[open]{padding:44px 10px 12px}#viewer.fullscreen-mode .viewer-caption{flex-direction:row;gap:8px}#viewer.fullscreen-mode .viewer-caption>div{flex-basis:100%}}
#viewer .viewer-zoom{position:absolute;top:10px;right:68px;z-index:2;display:flex;align-items:center;justify-content:center;width:44px;height:36px;padding:0;border:0;border-radius:9px;background:#f4f2ed;color:var(--ink);font-size:28px;line-height:1}
#viewer .viewer-zoom:hover{background:#e9e6dd}
