/* Gualamba V29.2 - identidad comercial, responsive y modo dia/noche */
.g292-verification-inline{display:flex;align-items:center;justify-content:space-between;gap:16px;background:#12291f;border:1px solid #527c65;border-radius:14px;padding:18px;margin:18px 0;color:#f5faf6}.g292-verification-inline strong{color:#fff}.g292-verification-inline p{color:#d1e6db;margin:6px 0 0;line-height:1.45}.g292-verification-inline button{flex-shrink:0}
.g292-overlay[hidden],.g292-existing[hidden],.g292-overlay form[hidden]{display:none!important}.g292-overlay{position:fixed;inset:0;z-index:99999;background:#07150ddc;display:grid;place-items:center;padding:14px;overflow-y:auto}.g292-dialog{width:min(780px,100%);max-height:94vh;overflow-y:auto;box-sizing:border-box;padding:24px;border-radius:20px;border:1px solid #527663;background:#f7f5ec;color:#1c4134;box-shadow:0 20px 60px #0009}.g292-dialog *{box-sizing:border-box}.g292-dialog .g292-top{display:flex;justify-content:space-between;align-items:start;gap:10px}.g292-dialog h2{color:#133d2b;margin:5px 0 8px;font-size:1.55rem}.g292-dialog small{color:#8a6d3f;font-weight:800}.g292-dialog p{line-height:1.55}.g292-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.g292-grid label,.g292-seller-card label{display:grid;gap:6px;font-size:.91rem;font-weight:700}.g292-grid input,.g292-grid select,.g292-seller-card textarea{color:#123c2b;background:#fff;border:1px solid #b3cdc0;border-radius:10px;padding:12px;width:100%;font:inherit;min-height:43px}.g292-consent{display:flex;align-items:flex-start;gap:9px;margin:17px 0 9px;font-size:.89rem}.g292-consent input{margin-top:4px;flex:none}.g292-note{font-size:.85rem;color:#547064}.g292-error{font-weight:700;color:#5b3d16;min-height:1em}.g292-dialog footer{display:flex;justify-content:flex-end;gap:10px;margin-top:15px}.g292-existing{padding:20px;border-radius:12px;background:#e4eee6;color:#183f2f}
#adminShell .g292-admin-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:4px 0 14px;color:#dfeae0}#adminShell .g292-admin-head p{color:#b8cfc2;margin:5px 0 0}#adminShell .g292-seller-card{background:#12281f;color:#f1f7f2;border:1px solid #456d5a;border-radius:15px;padding:18px;margin:14px 0;overflow-wrap:anywhere}#adminShell .g292-seller-card h4{margin:0 0 10px;font-size:1.13rem;color:#fff}#adminShell .g292-seller-card h4 small{font-size:.83rem;font-weight:normal;color:#d3e5d7}#adminShell .g292-seller-card p{margin:7px 0;color:#dfebe3}#adminShell .g292-seller-card label{color:#edf8ef}#adminShell .g292-seller-card textarea{margin-top:5px}#adminShell .g292-checks,#adminShell .g292-actions{display:flex;flex-wrap:wrap;gap:14px;margin-top:13px}#adminShell .g292-checks label{display:inline-flex;align-items:center;gap:5px;font-weight:500}#adminShell .g292-checks input{width:17px;height:17px}
@media(max-width:660px){.g292-verification-inline,.g292-dialog footer,#adminShell .g292-admin-head{flex-direction:column;align-items:stretch}.g292-grid{grid-template-columns:1fr}.g292-dialog{padding:16px}.g292-overlay{padding:8px}.g292-verification-inline button{width:100%}}

.g292-wizard-hint{padding:16px;background:#173327;color:#f3f8f2;border:1px solid #567866;border-radius:12px;margin-bottom:15px}.g292-wizard-hint p{color:#d3e5d6}.g292-wizard-hint button{margin-top:7px}


/* V29.2.1 hotfix: aislamiento de estilos y controles accesibles en el modal de oferentes.
 * Los estilos generales de la PWA asignan width:100% y min-height a TODO input,
 * y colores de modo nocturno a headings; aquí restringimos ambas herencias. */
.g292-overlay{overflow-x:hidden;overscroll-behavior:contain}
.g292-overlay .g292-dialog{width:min(780px,100%)!important;max-width:calc(100vw - 20px)!important;min-width:0!important;max-height:calc(100dvh - 24px);overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior:contain}
.g292-dialog [data-g292-form],.g292-dialog .g292-grid,.g292-dialog .g292-top,.g292-dialog footer{min-width:0;max-width:100%}
.g292-dialog .g292-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.g292-dialog .g292-grid>label{min-width:0;max-width:100%;margin:7px 0 5px;display:grid;gap:7px;color:#34584a!important;overflow-wrap:anywhere}
.g292-dialog .g292-grid :is(input,select){box-sizing:border-box!important;display:block;width:100%!important;min-width:0!important;max-width:100%!important;min-height:46px!important;margin:0!important;background:#fff!important;color:#173d30!important;border:1px solid #a6bbaf!important;border-radius:11px;padding:11px 13px!important;line-height:1.35}
.g292-dialog .g292-grid :is(input,select)::placeholder{color:#647b70!important;opacity:1}
.g292-dialog .g292-consent{display:grid!important;grid-template-columns:20px minmax(0,1fr)!important;gap:12px!important;align-items:start!important;justify-content:start!important;width:100%!important;min-width:0!important;max-width:100%!important;height:auto!important;margin:19px 0 12px!important;white-space:normal!important;overflow-wrap:break-word!important;color:#294b3d!important;line-height:1.55!important;font-weight:600!important;cursor:pointer}
.g292-dialog .g292-consent input[type="checkbox"]{display:block!important;width:20px!important;height:20px!important;min-width:20px!important;min-height:20px!important;max-width:20px!important;max-height:20px!important;flex:none!important;margin:2px 0 0!important;padding:0!important;border-radius:4px!important;box-shadow:none!important;appearance:auto!important;accent-color:#27684b;cursor:pointer}
.g292-dialog .g292-consent .g292-consent-text{display:block!important;min-width:0!important;width:auto!important;max-width:100%!important;white-space:normal!important;word-break:normal!important;overflow-wrap:break-word!important;color:inherit!important}
.g292-dialog .g292-top>div{min-width:0;flex:1}
.g292-dialog .g292-top small{display:block;color:#94702c!important;letter-spacing:.04em}
.g292-dialog h2{color:#133d2b!important;overflow-wrap:break-word}
.g292-dialog>p:not(.g292-error){color:#385b4b!important;line-height:1.58}
.g292-dialog .g292-note{color:#577163!important}
.g292-dialog .g292-error{color:#8c3b20!important}
.g292-dialog footer{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:flex-end}
.g292-dialog footer button{max-width:100%;white-space:normal}
.g292-dialog :is(input,select,button):focus-visible{outline:3px solid #ba8b47!important;outline-offset:2px!important}
/* El tema nocturno usa superficies y textos oscuros coherentes con el resto de Gualamba. */
html[data-theme="dark"] .g292-overlay .g292-dialog{background:#10271e!important;color:#edf5ef!important;border-color:#3f6753!important}
html[data-theme="dark"] .g292-dialog h2{color:#f6f8f1!important}
html[data-theme="dark"] .g292-dialog .g292-top small{color:#d7aa65!important}
html[data-theme="dark"] .g292-dialog>p:not(.g292-error){color:#bdd2c5!important}
html[data-theme="dark"] .g292-dialog .g292-grid>label{color:#dae9dd!important}
html[data-theme="dark"] .g292-dialog .g292-grid :is(input,select){background:#071c15!important;color:#f0f7f2!important;border-color:#496a59!important}
html[data-theme="dark"] .g292-dialog .g292-grid :is(input,select)::placeholder{color:#abc2b5!important}
html[data-theme="dark"] .g292-dialog .g292-consent{color:#e4f0e7!important}
html[data-theme="dark"] .g292-dialog .g292-note{color:#adc5b7!important}
html[data-theme="dark"] .g292-dialog .g292-error{color:#f4ba94!important}
html[data-theme="dark"] .g292-dialog .g292-existing{color:#edf5ef!important;background:#17372a!important}
@media(max-width:660px){.g292-overlay{padding:7px!important}.g292-overlay .g292-dialog{width:100%!important;max-width:calc(100vw - 14px)!important;max-height:calc(100dvh - 14px);padding:16px!important;border-radius:16px}.g292-dialog .g292-grid{grid-template-columns:minmax(0,1fr)!important;gap:7px}.g292-dialog footer{flex-direction:column;align-items:stretch!important}.g292-dialog footer button{width:100%!important}.g292-dialog h2{font-size:1.35rem!important}.g292-dialog .g292-consent{font-size:.87rem!important}}
