/* V26: approved homepage and Requests design; live HTML, not a flattened screenshot. */
body.premium-global .hero-variedad{background:linear-gradient(90deg,#0b1b2ce8 0%,#102438aa 48%,#10243822),url('/static/web/portada-variedad-escritorio.webp') center/cover no-repeat}
body.premium-global .hero-variedad h1 span{color:#f0c66c}
body.premium-global .hero-variedad::after{display:none}
.req-photo,.req-label{display:none}
.req-page h2 svg{width:30px;height:30px;vertical-align:-3px;margin-inline-end:6px}
@media(max-width:780px){
body.premium-global .hero-variedad{min-height:calc(100dvh - 110px);display:flex;align-items:center;background:radial-gradient(ellipse at 50% 56%,#061725f7 0%,#091c2dea 23%,#091b2cb8 42%,#0a1a2a12 77%),url('/static/web/portada-variedad-movil.webp') center/cover no-repeat}
body.premium-global .hero-variedad .ancho{width:100%;padding:110px 15px 85px;text-align:center;margin:auto}
body.premium-global .hero-variedad .desde{display:none}
body.premium-global .hero-variedad h1{font:400 clamp(27px,7.7vw,39px)/1.13 Georgia,serif!important;color:#fff4db!important;letter-spacing:-.3px;max-width:620px;margin:0 auto 15px;text-shadow:0 2px 6px #000b}
body.premium-global .hero-variedad h1::after{content:"";display:block;width:52px;height:2px;background:#d7ad55;margin:17px auto 0}
body.premium-global .hero-variedad h1 span{color:#f2c46a}
body.premium-global .hero-variedad p{font:400 18px/1.35 Georgia,serif!important;color:#fff4df!important;margin:14px auto;max-width:500px;opacity:1;text-shadow:0 1px 5px #000a}
body.premium-global .hero-variedad p:last-child{display:flex;flex-direction:column;align-items:center;gap:12px;margin:24px 0 0}
body.premium-global .hero-variedad .boton{width:min(88%,350px);margin:0!important;text-align:center;font:700 19px/1.2 Georgia,serif!important;padding:13px 10px!important;border-radius:12px!important;border:1px solid #e8c47d!important;text-shadow:none!important}
body.premium-global .hero-variedad .boton:not(.sec){background:linear-gradient(120deg,#fbdc8b,#e0af52 70%,#bc892e)!important;color:#102438!important}
body.premium-global .hero-variedad .boton.sec{background:#07192be0!important;color:#fff4df!important;border:1.5px solid #f1e2bb!important}
body.premium-global .hero-variedad .boton::after{content:" ›";font-size:23px}
body.premium-global[data-page="/admin"] header .ancho>nav.admin-language{grid-column:2;grid-row:1;display:block!important;justify-self:end;width:auto!important;min-width:0!important;overflow:visible!important;mask-image:none!important;-webkit-mask-image:none!important;padding:0!important;margin:0!important}
body.premium-global[data-page="/admin"] header .ancho>nav.admin-language details{display:block}
body.premium-global[data-page="/admin"] main{background:#0b2236!important;padding:0 0 20px!important}
body.premium-global[data-page="/admin"] main:before{display:none!important}
body.premium-global .req-page{padding:10px 12px 22px!important;width:100%;max-width:100%;box-sizing:border-box;overflow:visible}
body.premium-global .req-page h2{color:#fff3dc!important;font:700 28px/1.15 Georgia,serif!important;padding:0 0 10px;margin:0 0 10px;border-bottom:1px solid #d5ab56}
body.premium-global .req-page h2:after{display:none!important}
body.premium-global .req-page h2 svg{color:#eac16e;width:26px;height:26px}
body.premium-global .req-page .req-filters{display:flex!important;overflow:auto;flex-wrap:nowrap;gap:5px;margin:8px 0 12px;mask-image:none!important;-webkit-mask-image:none!important;padding:0 0 5px!important}
body.premium-global .req-page .req-filters a{font-size:12px;white-space:nowrap;flex:none}
body.premium-global .req-page .req-table,body.premium-global .req-table tbody{display:block!important;width:100%!important;min-width:0!important;max-width:100%!important;background:transparent!important;box-shadow:none!important;overflow:visible!important}
body.premium-global .req-table thead{display:none!important}
body.premium-global .req-table tr{display:grid!important;grid-template-columns:78px minmax(0,1fr);grid-template-areas:"photo product" "photo client" "photo state" "actions actions";gap:5px 10px;background:linear-gradient(130deg,#fffaf0,#f6ead0)!important;border:1px solid #d7bc83!important;border-radius:13px!important;box-shadow:0 3px 12px #0003;padding:11px;margin:0 0 12px;min-width:0!important}
body.premium-global .req-table td{display:block!important;background:transparent!important;border:0!important;padding:0!important;text-align:start!important;min-width:0!important;width:auto!important;font:14px/1.35 Georgia,serif;overflow-wrap:anywhere}
body.premium-global .req-table td::before{display:none!important}
body.premium-global .req-table .req-id{grid-area:photo;position:relative;align-self:start}
body.premium-global .req-table .req-photo{display:block;width:78px;height:94px;object-fit:cover;border-radius:9px}
body.premium-global .req-table .req-number{position:absolute;top:3px;inset-inline-start:3px;padding:1px 5px;font:11px system-ui;color:#fff;background:#102438d9;border-radius:5px}
body.premium-global .req-table .req-product{grid-area:product;border-bottom:1px solid #dbcbaa!important;padding-bottom:5px!important}
body.premium-global .req-table .req-product b{font:700 16px/1.2 Georgia,serif;color:#102438}
body.premium-global .req-table .req-client{grid-area:client;border-bottom:1px solid #dbcbaa!important;padding-bottom:5px!important}
body.premium-global .req-table .req-state{grid-area:state;display:flex!important;gap:5px;align-items:center;flex-wrap:wrap}
body.premium-global .req-table .req-label{display:block;font:600 11px/1.2 system-ui,sans-serif;color:#796341;margin-bottom:2px}
body.premium-global .req-table .sub{font:12px/1.3 system-ui,sans-serif;color:#47586a;margin-top:3px}
body.premium-global .req-table .req-actions{grid-area:actions;display:grid!important;grid-template-columns:1fr 1fr;gap:6px;margin-top:5px}
body.premium-global .req-table .req-actions>form:first-child{grid-column:1/-1;display:grid!important;grid-template-columns:minmax(0,1fr) auto;gap:6px;margin:0}
body.premium-global .req-table .req-actions>form:first-child select{grid-column:1/-1}
body.premium-global .req-table .req-actions>form:first-child input[name="respuesta"]{grid-column:1;min-width:0;width:100%;font-size:16px}
body.premium-global .req-table .req-actions button,body.premium-global .req-table .req-actions a.boton{min-height:40px;padding:7px!important;font:700 13px/1.2 Georgia,serif!important;white-space:normal!important;text-align:center;border-radius:9px!important;display:flex;align-items:center;justify-content:center;box-sizing:border-box}
body.premium-global .req-table .req-actions>form:first-child button{background:linear-gradient(#f6d990,#c7973b)!important;color:#102438!important}
body.premium-global .req-table .req-actions>form:not(:first-child){display:block!important;margin:0}
body.premium-global .req-table .req-actions>form:not(:first-child) button{width:100%}
body.premium-global .req-table .req-actions>a:only-of-type{background:#102438!important;color:#fff4dc!important}
}

.req-photo-note{display:none}
@media(max-width:780px){
body.premium-global[data-page="/admin"] header .ancho>nav.admin-language>a{display:none!important}
body.premium-global .req-table .req-photo-note{display:block;color:#796341;font:10px/1.2 system-ui,sans-serif;text-align:center;margin-top:3px}
body.premium-global .req-page>.sub{color:#fff4dc!important}
}

/* V31: all six request filters visible without horizontal scrolling. */
@media(max-width:780px){
body.premium-global .req-page .req-filters{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px!important;overflow:visible!important;white-space:normal!important;align-items:stretch}
body.premium-global .req-page .req-filters a{display:flex;align-items:center;justify-content:center;text-align:center;min-width:0;white-space:normal!important;overflow-wrap:anywhere;box-sizing:border-box;font-size:12px!important;line-height:1.2;padding:7px 3px!important;min-height:32px;text-decoration:none}
body.premium-global .req-table .req-actions>a:only-of-type{overflow-wrap:normal}
}

.req-contract{background:#102438!important;color:#fff4dc!important}
.sales-editor{max-width:900px}.sales-editor .f{max-width:none}.sales-editor fieldset{min-width:0;border:1px solid #d5ab56;border-radius:10px;padding:12px}.sales-editor legend{font-weight:700;color:#936e2b}.sales-editor textarea{resize:vertical}
@media(max-width:780px){body.premium-global .req-table .req-actions>.req-contract{grid-column:1/-1;background:#102438!important;color:#fff4dc!important}body.premium-global .req-table .req-actions>a:not(.req-contract){background:#e8c477!important;color:#102438!important}.sales-editor .doble{grid-template-columns:1fr!important}.sales-editor input,.sales-editor textarea,.sales-editor select{min-width:0;width:100%;font-size:16px}.sales-editor .f button{white-space:normal;width:100%}}
