:root{font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#243d56;background:#faf7f2;font-size:16px}*{box-sizing:border-box}body{margin:0}header{background:#304b6b;color:white;padding:32px max(24px,calc((100vw - 960px)/2));border-bottom:5px solid #277c80}.brand{font-size:17px;font-weight:750;letter-spacing:.14em}.brand span{display:block;font-size:10px;letter-spacing:.12em;color:#c7e2e1;margin-top:8px}header p{font-size:clamp(24px,4vw,36px);line-height:1.3;font-weight:300;margin:25px 0 5px}main{max-width:1008px;margin:0 auto;padding:28px 24px}.notice{display:flex;gap:20px;align-items:start;border-left:4px solid #277c80;padding:16px 20px;background:#eaf3f1;margin-bottom:24px;font-size:14px;line-height:1.5}.notice strong{white-space:nowrap}.card{background:white;border:1px solid #d9e3e4;border-radius:16px;padding:30px;margin-bottom:24px;box-shadow:0 5px 20px #304b6b05}.eyebrow{font-size:11px;letter-spacing:.15em;color:#277c80;font-weight:700}h1{font-size:clamp(25px,4vw,32px);margin:10px 0 12px}h2{font-size:21px;margin:0}.card p{line-height:1.6;max-width:720px;color:#4b6070}.picker{display:block;border:2px dashed #93b8b9;border-radius:12px;background:#f3f9f8;padding:25px;cursor:pointer;margin:24px 0 16px}.picker strong{color:#1f696d}.picker span{display:block;font-size:13px;margin:7px 0 16px}input{max-width:100%;font:inherit;font-size:14px}input::file-selector-button{background:#277c80;color:white;border:0;border-radius:7px;padding:12px 16px;cursor:pointer;margin-right:12px}button{font:inherit;cursor:pointer;border-radius:8px;padding:12px 16px}.secondary{background:white;border:1px solid #92aaaf;color:#304b6b}button:disabled{opacity:.5;cursor:default}.actions{display:flex;gap:12px;flex-wrap:wrap}.small{font-size:13px}.section-title{display:flex;gap:12px;justify-content:space-between;align-items:center}#count{font-size:13px;color:#45616c}ul{padding:0;margin:20px 0 0;list-style:none}.photo{border-top:1px solid #e3e9e9;padding:19px 0;overflow-wrap:anywhere}.photo strong{font-size:15px}.photo p{margin:8px 0;font-size:13px}.photo .ok{color:#1b6860}.photo .error{color:#9d322b}progress{width:100%;height:10px;accent-color:#277c80}footer{padding:0 4px 30px;color:#5f7380;font-size:12px;line-height:1.6}:focus-visible{outline:3px solid #277c80;outline-offset:4px}@media(max-width:600px){main{padding:20px 14px}.card{padding:22px 18px}.notice{display:block}.notice strong{display:block;margin-bottom:6px}.section-title{display:block}#count{display:block;margin-top:8px}.picker{padding:18px}header{padding:25px 22px}}

.sample{margin-top:14px}.sample-thumb{display:block;padding:0;border:1px solid #c6d5d7;background:#eaf3f1;border-radius:10px;overflow:hidden;margin-bottom:12px}.sample-thumb img{display:block;max-width:260px;max-height:190px;width:auto;height:auto}.sample p{font-size:13px}dialog{width:min(1000px,94vw);max-height:94vh;padding:24px;border:1px solid #93b8b9;border-radius:14px;color:#243d56;background:#faf7f2}dialog::backdrop{background:#122b44bf}dialog img{display:block;max-width:100%;max-height:73vh;margin:auto;object-fit:contain}.sample-heading{display:flex;justify-content:space-between;align-items:center;gap:16px}dialog p{font-size:13px;line-height:1.5}@media(max-width:600px){dialog{padding:16px}.sample-heading{align-items:start}dialog h2{font-size:17px;overflow-wrap:anywhere}.sample-thumb img{max-width:100%}}

[hidden]{display:none!important}.panel-nav{display:flex;gap:10px;margin-bottom:20px}.panel-nav [aria-current=page]{background:#304b6b;color:white;border-color:#304b6b}.primary{background:#277c80;color:#fff;border:1px solid #277c80;font-weight:650}.metrics,.gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:24px 0}.metric{padding:20px;background:#f1f7f6;border-radius:12px}.metric strong{display:block;font-size:27px;color:#304b6b}.metric span{display:block;font-size:13px;line-height:1.4;margin-top:8px;color:#4b6070}.gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.gallery-card{border:1px solid #d9e3e4;padding:20px;border-radius:12px;overflow-wrap:anywhere}.gallery-card h2{margin-top:14px}.badge{font-size:11px;color:#277c80;background:#eaf3f1;padding:5px 8px;border-radius:5px}form label,#association-bar>label{display:block;font-weight:600;margin:18px 0}form input,form select,#association-target{display:block;width:100%;border:1px solid #aabcc0;border-radius:8px;background:white;padding:13px;font:inherit;color:#243d56;margin-top:8px;min-height:48px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}label .small{display:block;color:#5c707b;font-weight:400;margin-top:8px}.money{display:flex;align-items:center;gap:10px}.money>span{font-size:24px}.money input{max-width:260px}.photo-select{display:flex;align-items:center;gap:12px}.photo-select input{width:23px;height:23px;accent-color:#277c80}.sample>.secondary{margin:4px 8px 4px 0}#association-bar{background:#f1f7f6;padding:18px;border-radius:10px;margin:20px 0}@media(max-width:600px){.metrics{grid-template-columns:1fr 1fr;gap:10px}.metric{padding:15px}.metric strong{font-size:23px}.gallery-grid,.form-grid{grid-template-columns:1fr;gap:10px}.section-title>.primary{margin-top:14px}.panel-nav{position:sticky;top:0;padding:12px 0;background:#faf7f2;z-index:2}.actions>button{min-height:46px}}

.gallery-cover{display:block;width:100%;height:170px;object-fit:contain;background:#f1f7f6;border-radius:8px;margin-bottom:15px}

.catalog-link{display:inline-block;color:#1f696d;border:1px solid #93b8b9;border-radius:8px;padding:12px 16px;text-decoration:none;font-weight:600}.catalog-link:focus-visible{outline:3px solid #277c80}#publication-actions{border-top:1px solid #d9e3e4;margin-top:26px;padding-top:24px}#publication-actions label{display:block;margin:16px 0;font-weight:600}#publication-actions select,#publication-actions input{display:block;margin-top:8px;padding:12px;width:100%;border:1px solid #aabcc0;border-radius:8px;background:white;font:inherit;color:#243d56}#publication-review p{line-height:1.6}

/* Gestión compacta de fotos: solo el panel; no cambia el catálogo comprador. */
#uploads{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;align-items:start;margin-top:20px}#uploads>.photo{position:relative;min-width:0;margin:0;padding:0 0 6px;border:1px solid #d8e4e4;border-radius:10px;background:#fff;overflow:visible}#uploads>.photo.is-cover{outline:3px solid #277c80;outline-offset:0}#uploads>.photo.is-selected{border-color:#277c80;background:#eaf5f3}#uploads>.photo.has-error{border-color:#b8594e}.photo-media{position:relative;aspect-ratio:4/3;background:#edf3f2;border-radius:9px 9px 0 0;display:flex;align-items:center;justify-content:center;min-width:0;overflow:hidden}.photo-placeholder{font-size:12px;color:#536d78;text-align:center;padding:12px}.photo-thumb{display:block;width:100%;height:100%;border:0;padding:0;background:transparent;border-radius:9px 9px 0 0;cursor:zoom-in}.photo-thumb img{display:block;width:100%;height:100%;object-fit:contain}.photo-cover-badge{position:absolute;left:5px;top:5px;pointer-events:none;font-size:11px;line-height:1.4;font-weight:700;padding:4px 7px;color:white;background:#244e60;border-radius:5px}.photo-status{display:block;font-size:11px;line-height:1.35;color:#49636d;padding:7px 8px 0}.has-error .photo-status{color:#9d322b;font-weight:700}#uploads .photo-commands{display:flex;align-items:center;justify-content:flex-end;gap:3px;padding:0 4px;min-height:44px}.photo-command{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;min-width:44px;padding:0;border:0;background:transparent;color:#304b6b;font-size:22px;line-height:1;border-radius:8px}.photo-command:hover,.photo-command:focus-visible{background:#e7f1ef}.photo-command.chosen{color:#1c6666;opacity:1}.photo-message{font-size:12px!important;line-height:1.4!important;margin:5px 8px!important;color:#49636d}.photo-message:not(.error){display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.photo-message.error{color:#9d322b!important;white-space:normal;overflow-wrap:anywhere}.photo>progress{display:block;width:calc(100% - 16px);margin:8px 8px 0;height:8px}.photo-select{position:absolute;top:0;left:0;display:flex;align-items:center;justify-content:center;width:44px;height:44px;margin:0;background:#ffffffd9;border-radius:0 0 8px 0;z-index:1}.photo-select input{width:24px;height:24px;cursor:pointer;margin:0}.photo-thumb:focus-visible{outline-offset:-4px;outline:3px solid #277c80}#photo-detail-name{overflow-wrap:anywhere}#photo-detail-info p{line-height:1.6;overflow-wrap:anywhere}@media(max-width:850px){#uploads{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}}@media(max-width:700px){#uploads{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:600px){#uploads{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.photo-command{width:44px;height:44px;min-width:44px}.photo-cover-badge{font-size:10px;padding:3px 6px}.photo-status{font-size:11px}}

/* Control de consulta del panel: jerarquía secundaria, área táctil accesible. */
#upload-card .quiet-control{background:transparent;color:#304b6b;border:0;text-decoration:underline;min-height:44px;padding:10px 12px;cursor:pointer;font:inherit}
#publication-state{font-weight:700;font-size:1rem}

#uploads .photo-sale{font-weight:700;color:#277c80;min-width:44px;min-height:44px}#uploads .photo-sale.sale-off{color:#667078;position:relative}#uploads .photo-sale.sale-off::after{content:"";position:absolute;width:26px;height:2px;background:currentColor;transform:rotate(-45deg);left:calc(50% - 13px);top:50%}

/* Catálogo de clientes: fotos grandes, sin afectar el panel de Flor. */
.customer-catalog header{padding:14px 24px;border-bottom-width:3px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.customer-catalog header p{font-size:22px;font-weight:650;margin:0}
.customer-catalog main{max-width:1600px;padding:16px 24px}
.customer-catalog .notice{padding:8px 12px;margin-bottom:12px}
.customer-catalog #catalog-status{margin:10px 0;font-size:14px}
.customer-catalog #catalog-content{padding:16px;border-radius:12px}
.customer-catalog #catalog-content>p{margin:4px 0;font-size:16px}
.customer-catalog h1{margin:0 0 6px;font-size:28px}
.customer-catalog .customer-photo-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:28px 24px;margin:16px 0 0;align-items:start}
@media(min-width:1400px){.customer-catalog .customer-photo-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(min-width:701px) and (max-width:1000px){.customer-catalog .customer-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.customer-photo-grid .gallery-card{padding:0;overflow:hidden;background:#f4f3ef}
.customer-photo-grid .sample-thumb{width:100%;border:0;border-radius:0;margin:0;background:transparent}
/* Natural photo proportions: no viewport-height frame or cropping. */
.customer-photo-grid .sample-thumb img{display:block;width:100%;max-width:none;height:auto;max-height:none;object-fit:contain}

.customer-photo-grid .gallery-card p{font-size:17px;font-weight:650;margin:5px 12px}
.customer-catalog #catalog-dialog{position:fixed;inset:0;width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;padding:16px;border:0;border-radius:0;background:#122331;color:#fff;overflow:hidden}
.customer-catalog #catalog-dialog[open]{display:flex;flex-direction:column;gap:8px}
.customer-catalog #catalog-dialog .sample-heading{flex:none}
.customer-catalog #catalog-dialog h2{font-size:20px}
.customer-catalog #catalog-dialog p{margin:0;color:#e0e7eb;flex:none}
.customer-catalog #catalog-image{min-height:0;flex:1;width:100%;height:100%;max-height:none;object-fit:contain}
.customer-catalog #catalog-close{min-height:48px;font-weight:650;flex:none}
@media(max-width:700px){
.customer-catalog header{padding:12px 16px}.customer-catalog header p{font-size:18px}.customer-catalog .brand{font-size:14px}.customer-catalog .brand span{font-size:8px}
.customer-catalog main{padding:12px}.customer-catalog #catalog-content{padding:12px}.customer-catalog .notice{font-size:12px}.customer-catalog .notice strong{display:none}
.customer-catalog .customer-photo-grid{grid-template-columns:1fr;gap:12px}
.customer-catalog #catalog-dialog{padding:12px}.customer-catalog #catalog-dialog h2{font-size:17px}
}
@media(max-width:700px){
.customer-catalog .notice{font-size:11px;line-height:1.35;padding:6px 10px;margin-bottom:8px}
.customer-catalog h1{font-size:22px;line-height:1.2}
.customer-catalog #catalog-content>p:nth-of-type(1),.customer-catalog #catalog-content>p:nth-of-type(2){display:inline;font-size:14px}
.customer-catalog #catalog-content>p:nth-of-type(1)::after{content:" · "}
.customer-catalog #catalog-content>p.small{font-size:13px;line-height:1.35;margin-top:8px}
.customer-catalog #catalog-status{font-size:12px;margin:8px 0}

}

.customer-photo-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:5px 10px}
.customer-photo-actions .photo-cart{display:grid;place-items:center;min-width:44px;min-height:44px;padding:8px;border:1px solid #304b6b;border-radius:9px;background:#304b6b;color:#fff;transition:color .15s,background-color .15s,border-color .15s}
.customer-photo-actions .photo-cart.in-cart{background:#e0f0ee;color:#277c80;border:2px solid #277c80}
.customer-photo-actions .photo-cart.in-cart svg{stroke-width:2.8}
.customer-photo-actions p{margin:0!important}


/* Marca Flor: misma identidad editorial que la landing B. */
:root{--brand-blue:#304b6b;--brand-water:#277c80;--brand-pink:#df9a89;--brand-earth:#ad9065;--brand-paper:#fffdfa;--brand-line:#d9dfe2;color:#273e56;background:#faf7f2}
header.flor-header,.customer-catalog header.flor-header{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:12px 5%;background:var(--brand-paper);color:var(--brand-blue);border-bottom:1px solid var(--brand-line);border-top:3px solid var(--brand-blue)}
.flor-identity{width:270px;flex-shrink:0}.flor-logo{display:block;position:relative;width:100%;height:54px;overflow:hidden}.flor-logo img{position:absolute;width:150%;max-width:none;height:auto;left:-25%;top:50%;transform:translateY(-50%);mix-blend-mode:multiply}.flor-subtitle{display:block;text-align:center;text-transform:uppercase;letter-spacing:2.6px;font-size:10px;font-weight:600;color:var(--brand-blue)}
.flor-context{font-size:16px;font-weight:600;color:#526579}.primary{min-height:48px;border-radius:8px;box-shadow:0 3px 0 #1b5d6020}.primary:hover{background:#21696d}.card{background:var(--brand-paper);box-shadow:none;border-color:var(--brand-line)}
h1,.customer-catalog h1{font-family:Georgia,serif;font-weight:400;color:var(--brand-blue)}.customer-catalog #catalog-content{border:0;background:transparent;padding-inline:0}.customer-catalog .notice{border-left-color:var(--brand-earth);background:#f0ebe2;color:#526579}.customer-catalog .gallery-card{background:var(--brand-paper);border-color:var(--brand-line)}.customer-catalog #catalog-dialog h2{color:white}
#cart-count{display:inline-block;margin-left:8px;min-width:24px;padding:2px 5px;border-radius:20px;background:#ffffff24}
#cart-dialog{width:min(760px,95vw);max-height:94dvh;background:var(--brand-paper);border:1px solid var(--brand-line);padding:24px;color:var(--brand-blue)}
#cart-dialog h2{font:400 28px Georgia,serif}#cart-dialog .sample-heading{position:sticky;top:-24px;background:var(--brand-paper);padding:12px 0;z-index:1}
.cart-photo{display:flex;gap:16px;align-items:center;padding:16px 0;border-bottom:1px solid var(--brand-line)}.cart-photo img{width:110px;height:85px;object-fit:contain;margin:0;background:#f0efeb}.cart-photo>div{flex:1}.cart-photo h3{font-size:17px;margin:0}.cart-photo p{font-size:16px;margin:8px 0}.cart-photo button{min-height:44px}.cart-total{font-size:23px;font-weight:700;border-bottom:2px solid var(--brand-earth);padding-bottom:16px}
#guest-form label{display:block;font-size:17px;font-weight:650;margin-bottom:8px}#guest-email{width:100%;min-height:50px;border:1px solid #aabcc0;border-radius:8px;padding:12px;font:inherit;color:var(--brand-blue);background:white}#guest-form .small{font-size:15px;color:#526579}#guest-continue{width:100%}#checkout-status{font-size:16px;line-height:1.5}
@media(max-width:700px){header.flor-header,.customer-catalog header.flor-header{padding:10px 14px;gap:10px;flex-wrap:wrap}.flor-identity{width:210px}.flor-logo{height:44px}.flor-subtitle{font-size:8px;letter-spacing:2px}.flor-context{font-size:14px}.customer-catalog .flor-context{display:none}.customer-catalog #open-cart{padding:10px;font-size:14px;min-height:44px}#cart-count{margin-left:3px}.customer-catalog .flor-identity{width:200px}#cart-dialog{padding:16px}#cart-dialog h2{font-size:24px}.cart-photo{gap:10px}.cart-photo img{width:75px;height:75px}.cart-photo h3{font-size:15px}.cart-photo button{padding:8px}#cart-dialog .sample-heading{top:-16px}}

#cart-dialog{overflow:auto}

/* Galerías: prioridad a las fotos y a la lectura, no a metadatos de prueba. */
.customer-catalog #catalog-back{float:right;min-height:44px;padding:8px 14px;margin:0 0 8px 16px}
.customer-catalog #catalog-status{min-height:44px;display:flex;align-items:center;margin:0 0 6px;font-size:16px;color:#526579}
.customer-catalog h1{font-size:30px;line-height:1.2}
.customer-catalog #catalog-content>p:nth-of-type(1),.customer-catalog #catalog-content>p:nth-of-type(2){display:inline;font-size:16px}
.customer-catalog #catalog-content>p:nth-of-type(1)::after{content:" · "}
.customer-catalog #catalog-content>p.small{font-size:16px;line-height:1.5;margin:6px 0}
.customer-catalog .customer-photo-grid{clear:both;margin-top:12px}

.customer-catalog .notice{font-size:13px;line-height:1.4;padding:6px 10px;margin-bottom:8px}
.cart-gallery-name{color:#526579;font-size:15px!important;line-height:1.4}
@media(max-width:700px){
.customer-catalog h1{font-size:24px}.customer-catalog #catalog-content>p.small{font-size:16px}.customer-catalog .notice{font-size:13px}
.customer-catalog .customer-photo-grid{margin-top:12px}
}

#order-tools{margin-block:12px}#order-downloads{display:flex;flex-wrap:wrap;gap:12px;margin-top:16px}#order-downloads button{min-height:48px}

#storage-dialog{overflow:auto}.storage-list li{padding:12px 0;border-bottom:1px solid var(--brand-line)}.storage-list p{margin:5px 0}.storage-warning{padding:14px;border-left:4px solid var(--brand-earth);background:#f0ebe2;font-weight:650}
.customer-catalog #catalog-status{min-height:24px;margin-bottom:2px}
.customer-catalog #catalog-content{padding-block:8px}
.customer-catalog #catalog-content>h1{display:inline-block;margin:0 18px 4px 0;vertical-align:baseline}
.customer-catalog #catalog-content>p.small{margin:4px 0}

.customer-catalog .gallery-cover{width:100%;height:240px;object-fit:cover;display:block;border-radius:8px}
.customer-catalog .gallery-grid:not(.customer-photo-grid){grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:700px){.customer-catalog .gallery-grid:not(.customer-photo-grid){grid-template-columns:1fr}.customer-catalog #catalog-content>h1{display:block;margin-bottom:6px}}

.customer-nav{display:flex;align-items:center;gap:12px}.customer-nav button{min-height:48px;white-space:nowrap}.mobile-cart-label{display:none}
#purchases-dialog{width:min(900px,95vw);max-height:94dvh;overflow:auto;background:var(--brand-paper);color:var(--brand-blue);border:1px solid var(--brand-line);padding:24px}
#purchases-dialog h2{font:400 28px Georgia,serif}#purchases-form label{display:block;font-weight:650;margin:20px 0 8px}#purchases-email{width:100%;min-height:50px;font:inherit;padding:12px;border:1px solid #aabcc0;border-radius:8px;background:white;color:var(--brand-blue)}#purchases-help,#purchases-status{font-size:16px;line-height:1.5}#purchases-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:20px}
.purchased-photo{padding:14px;border:1px solid var(--brand-line);border-radius:10px}.purchased-photo img{width:100%;height:200px;max-height:none;object-fit:contain;background:#e9e9e5}.purchased-photo h3{font-size:18px;margin:12px 0 6px}.purchased-photo p{font-size:16px;line-height:1.5}.purchased-photo button{width:100%;min-height:48px}.purchased-photo .purchase-preview{padding:0;border:0;border-radius:6px;overflow:hidden;background:transparent}
@media(max-width:700px){.customer-catalog .flor-identity{width:170px}.customer-nav{gap:6px}.customer-nav button{padding:8px;font-size:14px;min-height:44px}.customer-nav .cart-label{display:none}.mobile-cart-label{display:inline}.customer-nav #open-cart{display:flex;flex-direction:column;gap:0;padding:5px 8px;font-size:12px;line-height:1.2}.customer-nav #cart-count{order:1;font-size:14px;margin:0;padding:0 4px}.customer-nav .mobile-cart-label{order:0}#purchases-dialog{padding:16px}#purchases-dialog h2{font-size:24px}#purchases-results{grid-template-columns:1fr}}

.payment-summary{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-top:28px;border-top:1px solid var(--brand-line);padding-top:24px}.payment-summary p{margin-bottom:0}.payments-section{margin-top:28px}.payments-section .section-title{align-items:flex-start}.payments-lead{font-size:18px;max-width:650px}.payment-state{display:inline-block;white-space:nowrap;background:#eaf3f1;color:#215e62;border:1px solid #b4d2d0;border-radius:20px;padding:8px 14px;font-size:15px;font-weight:650}.payment-state[data-state=connected]{background:#dcefeb;border-color:#277c80}.payment-account{padding:20px;margin:22px 0;background:#f3f1ec;border-radius:12px;border-left:3px solid var(--brand-earth)}.payment-account h3{margin:0 0 16px;font-size:22px}.payment-account dl{margin:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.payment-account dt{font-size:14px;color:#526579;margin-bottom:8px}.payment-account dd{margin:0;font-size:17px;font-weight:600;overflow-wrap:anywhere}#payment-help,#payment-message{font-size:16px;line-height:1.6}#payment-message:empty{display:none}.payments-section button{min-height:48px}.payment-footnote{margin-top:26px;padding-top:20px;border-top:1px solid var(--brand-line)}
@media(max-width:700px){.payment-summary{display:block}.payment-summary button{margin-top:18px;width:100%}.payments-section .section-title{display:block}.payment-state{margin-bottom:12px}.payment-account dl{grid-template-columns:1fr;gap:16px}.payments-lead{font-size:17px}.payments-section .actions{display:grid;grid-template-columns:1fr}.payments-section .actions button{width:100%}.panel-nav{flex-wrap:wrap}}

.installation-help{padding-bottom:24px;margin-bottom:28px;border-bottom:1px solid #D9DFE2}.metric.secondary{text-align:left;margin:0;border:1px solid #b7cecf}.metric.secondary:hover{background:#e1efed}.panel-nav{flex-wrap:wrap}

a.flor-identity{display:block;text-decoration:none;color:inherit}a.flor-identity:focus-visible{outline:3px solid #277C80;outline-offset:6px;border-radius:4px}

.landing-sections{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));gap:24px;margin-top:24px}.landing-section{padding:24px;border:1px solid #d6dfdf;border-radius:14px;background:#FFFDFA}.landing-section h2{font-size:21px}.landing-section .actions{flex-wrap:wrap}

/* Photo actions stay inside the thumbnail card, including focus and cover states. */
#uploads>.photo{container-type:inline-size;display:flex;flex-direction:column;align-self:stretch}
#uploads>.photo.is-cover{outline:none;border-color:#277c80;box-shadow:inset 0 0 0 2px #277c80}
#uploads .photo-commands{display:grid;grid-template-columns:repeat(2,44px);justify-content:center;align-items:center;gap:4px;padding:8px;margin-top:auto;min-height:0}
#uploads .photo-command{width:44px;min-width:0;max-width:100%;height:44px}
#uploads .photo-command:focus-visible{outline-offset:-3px}
@container (min-width:200px){#uploads .photo-commands{grid-template-columns:repeat(4,44px)}}

/* Four compact actions in one row at every thumbnail width. */
#uploads .photo-commands{grid-template-columns:repeat(4,minmax(0,1fr));gap:2px;padding:6px}
#uploads .photo-command,#uploads .photo-sale{width:100%;min-width:0;max-width:100%;height:32px;min-height:32px;font-size:19px;border-radius:5px}
#uploads .photo-sale.sale-off::after{width:21px;left:calc(50% - 10.5px)}

/* Task navigation and editor actions — preserve the current brand. */
.account-menu{position:relative;margin-left:auto;font-size:14px}.account-menu summary{cursor:pointer;padding:12px 14px;min-height:44px;font-weight:650}.account-menu[open] button{position:absolute;right:0;top:48px;z-index:40;white-space:nowrap;box-shadow:0 8px 24px #304b6b20}.summary-actions{display:flex;gap:12px;flex-wrap:wrap;margin:22px 0 30px}.summary-attention{padding:24px 0;border-top:1px solid #d9dfe2}.metrics .metric-link{border:1px solid #98babb;background:#f5faf9;box-shadow:none}.metric-link small{display:block;color:#277c80;font-weight:700;text-decoration:underline;text-underline-offset:3px;margin-top:10px}.metrics>div.metric{background:#f8f8f5;border:1px solid #e3e7e7;color:#677985}.recent-section{padding:20px 0 28px}.recent-galleries{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:16px}.recent-gallery{border:1px solid #d9dfe2;border-radius:10px;padding:18px}.recent-gallery h3{font-size:18px;margin:0}.recent-gallery p{font-size:14px;margin:8px 0 16px}.summary-details{margin-top:28px;padding-top:20px;border-top:1px solid #d9dfe2}.summary-details>summary{font-weight:650;cursor:pointer;min-height:44px}.summary-details .metrics{margin:12px 0}.gallery-filters{display:grid;grid-template-columns:2fr 1fr 1fr;gap:16px;align-items:end;margin:20px 0}.gallery-filters input,.gallery-filters select{min-height:48px;width:100%}.gallery-destination{border-top:1px solid #d9dfe2;padding-top:12px;font-weight:600;font-size:14px}.editor-context{font-weight:650;color:#277c80!important;margin-top:0}.destination-note{border-left:3px solid #277c80;background:#f0f6f5;padding:12px 16px;font-size:15px}.editor-action-bar{position:fixed;bottom:16px;left:50%;transform:translateX(-50%);width:calc(100% - 32px);max-width:1130px;z-index:25;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 20px;background:#fffdfa;border:1px solid #a8c5c6;border-radius:12px;box-shadow:0 6px 30px #304b6b26}.editor-action-bar[hidden]{display:none}.editor-action-bar>div:first-child{flex:1;min-width:0}.editor-action-bar strong{font-size:16px}.editor-action-bar p{font-size:14px;margin:5px 0 0;line-height:1.4}.editor-action-bar button{min-height:48px}body:has(#editor-actions:not([hidden])) main{padding-bottom:160px}.section-state{padding:10px 12px;border-left:3px solid #277c80;background:#edf5f3;font-size:14px}.section-state.pending{border-left-color:#ad9065;background:#f8f1e7}.section-comparison{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:20px}.comparison-column{background:#fffdfa;border:1px solid #d9dfe2;border-radius:10px;padding:18px}.comparison-column img{width:100%;height:180px;object-fit:contain;margin-bottom:18px}.comparison-column h3{margin-top:0;font-size:18px}.owner-orders{padding:20px 0;border-top:1px solid #d9dfe2;margin-top:24px}.owner-orders h3{margin:0 0 14px}.owner-order-row{display:flex;gap:12px;align-items:center;flex-wrap:wrap;border-top:1px solid #e1e8e8;padding:14px 0;font-size:14px}.owner-order-row>span:first-child{flex:1;min-width:140px}.installation-help{margin-top:32px;padding-top:24px;border-top:1px solid #d9dfe2;border-bottom:0}.photo-commands .photo-command{position:relative}#uploads .photo-command,#uploads .photo-sale{height:54px;min-height:54px;line-height:24px;padding:0 0 18px}#uploads .photo-command::before{content:attr(data-caption);position:absolute;bottom:4px;left:0;width:100%;font:600 10px/1.3 system-ui,sans-serif;color:inherit;letter-spacing:0}#uploads .photo-sale.sale-off::after{top:17px}
@media(max-width:700px){.recent-galleries{grid-template-columns:1fr}.gallery-filters{grid-template-columns:1fr}.editor-action-bar{bottom:calc(8px + env(safe-area-inset-bottom));padding:12px;flex-wrap:wrap;gap:10px}.editor-action-bar>div:first-child{flex-basis:100%}.editor-action-bar .actions{width:100%;display:grid;grid-template-columns:1fr 1.4fr;gap:8px}.editor-action-bar button{font-size:14px;padding:10px 8px}body:has(#editor-actions:not([hidden])) main{padding-bottom:210px}.section-comparison{grid-template-columns:1fr}.flor-header{flex-wrap:wrap}.account-menu{margin-left:auto}.summary-actions{display:grid;grid-template-columns:1fr}.owner-order-row button{width:100%}}

#uploads .photo-command::before{white-space:nowrap}.editor-action-bar:has(#review-publication[hidden]) .actions{grid-template-columns:1fr}
.photo-sale-state{display:block;padding:3px 8px 4px;font-size:12px;font-weight:650;color:#304b6b}.photo-sale-state[hidden]{display:none}.owner-order-row>span:nth-child(2){flex:1;min-width:140px}

/* Mobile review: keep all four actions together with comfortable touch targets. */
@media(max-width:700px){
 #uploads{grid-template-columns:repeat(auto-fit,minmax(min(100%,216px),1fr))}
 #uploads .photo-commands{grid-template-columns:repeat(4,minmax(44px,1fr));gap:4px;padding:6px}
 #uploads .photo-command,#uploads .photo-sale{min-width:44px}
 body:not(.customer-catalog) header.flor-header{padding:8px 14px;gap:4px 10px}
 body:not(.customer-catalog) .flor-context{font-size:12px}
 body:not(.customer-catalog) .notice{padding:8px 12px;margin-bottom:12px;font-size:12px}
 body:not(.customer-catalog) .notice strong{margin-bottom:2px}
 body:not(.customer-catalog) main{padding-top:12px}
 body:not(.customer-catalog) .summary-actions{margin:14px 0 20px}
}
#section-compare-dialog>.sample-heading{position:sticky;top:0;z-index:2;background:var(--brand-paper,#faf7f2);padding:12px 0;border-bottom:1px solid #d9dfe2;align-items:center}
#section-compare-dialog>.sample-heading h2{min-width:0;overflow-wrap:anywhere}
#close-section-compare{flex-shrink:0;min-height:44px}
@media(max-width:440px){#section-compare-dialog>.sample-heading{gap:8px}#section-compare-title{font-size:19px}#close-section-compare{font-size:13px;padding:10px}}

.cover-framing{margin:24px 0;padding:20px;border:1px solid #a8c5c6;border-radius:12px;background:#f3f8f7}.cover-framing h3{margin-top:0}.cover-framing-previews{display:grid;grid-template-columns:2fr 1fr;gap:20px}.cover-framing figure{margin:0}.cover-framing figcaption{font-size:13px;margin-bottom:8px}.cover-frame{overflow:hidden;background:#e5ecec}.cover-frame.desktop{aspect-ratio:3.7}.cover-frame.mobile{aspect-ratio:1.6;max-width:320px}.cover-frame img{width:100%;height:100%;display:block;object-fit:cover}.cover-framing>label{display:block;margin-top:16px;font-size:14px;font-weight:650}.cover-framing>input{width:100%;min-height:44px;accent-color:#277c80}.cover-framing .small{font-size:13px}@media(max-width:600px){.cover-framing-previews{grid-template-columns:1fr}.cover-framing{padding:14px}}

/* Shared C identity — dashboard and client galleries. */
@font-face{font-family:'DM Sans';font-style:normal;font-weight:400;font-display:swap;src:url('/fonts/dm-sans-400.ttf') format('truetype')}
@font-face{font-family:'DM Sans';font-style:normal;font-weight:600;font-display:swap;src:url('/fonts/dm-sans-600.ttf') format('truetype')}
@font-face{font-family:'DM Sans';font-style:normal;font-weight:700;font-display:swap;src:url('/fonts/dm-sans-700.ttf') format('truetype')}
@font-face{font-family:'Libre Baskerville';font-style:normal;font-weight:400;font-display:swap;src:url('/fonts/libre-baskerville-400.ttf') format('truetype')}
:root{font-family:'DM Sans',system-ui,sans-serif;background:#fffdfa;color:#304b6b;--brand-paper:#fffdfa}
body{background:#fffdfa;color:#304b6b}
h1,h2,.customer-catalog h1,.customer-catalog h2,#cart-dialog h2,#purchases-dialog h2{font-family:'Libre Baskerville',Georgia,serif;font-weight:400;line-height:1.3;color:#304b6b}
h1{font-size:30px}h2{font-size:23px}h3{line-height:1.4}
button,input,select,textarea{font-family:'DM Sans',system-ui,sans-serif}
button,.primary,.secondary,.catalog-link,.client-order-actions>a,.flor-header nav a{border-radius:6px;box-shadow:none;min-height:48px}
.primary,.primary:hover,.primary:active{background:#304b6b;border-color:#304b6b;color:#fffdfa;box-shadow:none}
.primary:hover{background:#243d56}.secondary{background:#fffdfa;border:1px solid #aabcc0;color:#304b6b}.secondary:hover{background:#edf3f1}
header.flor-header,.customer-catalog header.flor-header{background:#fffdfa;border-top:0;border-bottom:1px solid #d9dfe2;gap:20px;padding:14px max(24px,calc((100vw - 1140px)/2))}
.flor-identity{width:259px}.flor-logo{height:68px}.flor-logo img{filter:grayscale(1) contrast(1.18)}.flor-subtitle{font-family:'DM Sans',system-ui,sans-serif;font-size:10px;font-weight:400;letter-spacing:2px;text-align:center;width:100%}
.flor-context{font-family:'DM Sans',system-ui,sans-serif;font-size:16px;font-weight:600;color:#526579}
main{max-width:1188px;padding:28px 24px}.card{background:#fffdfa;border:1px solid #d9dfe2;border-radius:10px;box-shadow:none}.card p{color:#526579}.eyebrow{font-size:12px;color:#304b6b;letter-spacing:1.5px}
.dashboard-intro{background:#304b6b;color:#fffdfa;padding:26px 28px;border-radius:6px;margin-bottom:24px}.dashboard-intro h1{color:#fffdfa;margin:12px 0 0}.dashboard-intro .eyebrow{color:#fffdfa}
.panel-nav{gap:10px}.panel-nav button{font-weight:600}.panel-nav [aria-current=page]{background:#304b6b;color:#fffdfa}.notice{background:#edf3f1;border-left-color:#277c80;color:#526579}
.metrics .metric-link{background:#edf3f1;border:1px solid #a8c5c6;border-radius:8px}.metric strong{font-family:'DM Sans',system-ui,sans-serif;font-weight:700;color:#304b6b}.metrics>div.metric{border-radius:8px;background:#f5f6f4}.recent-gallery,.gallery-card{border-radius:8px;background:#fffdfa}.recent-gallery h3,.gallery-card h2{font-family:'Libre Baskerville',Georgia,serif;font-weight:400}
.payment-summary,.destination-note,.section-state,.cover-framing{background:#edf3f1}.editor-action-bar{background:#fffdfa;border-color:#a8c5c6;box-shadow:0 4px 18px #304b6b15}.editor-action-bar p{color:#526579}.editor-context{color:#304b6b!important}
dialog{background:#fffdfa;border-radius:10px}.sample-heading{background:#fffdfa}dialog h2{font-size:26px}.photo-command::before{font-family:'DM Sans',system-ui,sans-serif!important}#uploads .photo-command.chosen{color:#277c80}.customer-catalog footer{color:#526579}.customer-catalog #cart-count{background:#edf3f1;color:#304b6b}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline-color:#277c80}
@media(max-width:700px){header.flor-header,.customer-catalog header.flor-header,body:not(.customer-catalog) header.flor-header{padding:10px 14px;gap:8px 12px}.flor-identity,.customer-catalog .flor-identity{width:230px;max-width:100%}.flor-logo{height:60px}.flor-subtitle{font-size:9px;letter-spacing:1.8px}.customer-catalog header.flor-header nav{width:100%;justify-content:flex-end}.flor-context{font-size:14px}main{padding:20px 14px}h1{font-size:26px}h2{font-size:22px}.dashboard-intro{padding:22px 18px}.dashboard-intro h1{font-size:26px}.card{padding:22px 18px}.customer-catalog main{padding:16px}.customer-catalog #cart-dialog h2,.customer-catalog #purchases-dialog h2{font-size:25px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
