:root{color:#17202c;background:#eef3f8;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{min-width:320px;min-height:100vh;margin:0}button{cursor:pointer;font:inherit;letter-spacing:0;border:0;border-radius:8px;font-weight:700;transition:background .16s,color .16s,transform .16s}button:hover{transform:translateY(-1px)}button:disabled{cursor:not-allowed;opacity:.65;transform:none}input,textarea{color:#17202c;width:100%;font:inherit;letter-spacing:0;background:#fff;border:1px solid #cbd7e4;border-radius:8px;outline:none}input:focus,textarea:focus{border-color:#22736b;box-shadow:0 0 0 3px #22736b24}textarea{resize:vertical;min-height:112px}.app-shell{min-height:100vh;padding:32px 24px}.productos-panel{background:#fff;border:1px solid #d8e0ea;border-radius:8px;width:min(100%,1120px);margin:0 auto;padding:24px;box-shadow:0 18px 48px #17202c14}.page-header{justify-content:space-between;align-items:center;gap:16px;margin-bottom:22px;display:flex}.eyebrow{color:#24746b;letter-spacing:0;text-transform:uppercase;margin:0 0 8px;font-size:.85rem;font-weight:700}h1{color:#17202c;margin:0;font-size:clamp(2rem,6vw,2.8rem);line-height:1.05}p{color:#516173;max-width:56ch;font-size:1.05rem;line-height:1.6}.primary-button{color:#fff;white-space:nowrap;background:#22736b;min-height:44px;padding:0 18px}.primary-button:hover{background:#185e58}.producto-form{background:#f8fafc;border:1px solid #e1e7ef;border-radius:8px;margin-bottom:22px;padding:18px}.form-heading{justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px;display:flex}.form-heading h2{color:#17202c;margin:0;font-size:1.25rem;line-height:1.25}.form-grid{grid-template-columns:minmax(0,1fr) 220px;gap:16px;display:grid}.form-grid label{color:#334456;gap:8px;font-size:.92rem;font-weight:700;display:grid}.form-grid input,.form-grid textarea{padding:11px 12px}.descripcion-field{grid-column:1/2}.preview-box{color:#68798c;text-align:center;background:#eef3f8;border:1px dashed #b9c8d8;border-radius:8px;grid-area:1/2/span 2/3;place-items:center;min-height:220px;font-size:.9rem;font-weight:700;display:grid;overflow:hidden}.preview-box img{object-fit:cover;width:100%;height:100%}.form-footer{flex-wrap:wrap;align-items:center;gap:12px;margin-top:16px;display:flex}.form-message{margin:0;font-size:.96rem;font-weight:700}.success-text{color:#22736b}.status-text{margin:0}.state-box{background:#f8fafc;border:1px dashed #c7d4e2;border-radius:8px;padding:22px}.state-box-error{background:#fff7f6;border-color:#e0aaa5}.error-text{color:#a33a32;font-weight:700}.productos-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.producto-item{background:#fff;border:1px solid #e1e7ef;border-radius:8px;grid-template-rows:1fr auto;grid-template-columns:112px minmax(0,1fr);gap:14px;padding:14px;display:grid}.producto-item h2{color:#17202c;margin:0 0 4px;font-size:1.08rem;line-height:1.25}.producto-item p{margin:0;font-size:.96rem}.producto-media{color:#68798c;text-align:center;background:#eef3f8;border-radius:8px;grid-row:span 2;place-items:center;width:112px;height:112px;font-size:.82rem;font-weight:700;display:grid;overflow:hidden}.producto-imagen{object-fit:cover;width:100%;height:100%}.producto-info{min-width:0}.producto-actions{flex-wrap:wrap;align-self:end;gap:8px;display:flex}.secondary-button,.danger-button{min-height:38px;padding:0 14px}.secondary-button{color:#22566b;background:#e8f0f7}.secondary-button:hover{background:#d8e7f2}.danger-button{color:#9a342f;background:#f7e7e5}.danger-button:hover{background:#efd5d1}@media (width<=860px){.form-grid{grid-template-columns:1fr}.descripcion-field,.preview-box{grid-column:auto}.preview-box{grid-row:auto;min-height:240px}.productos-list{grid-template-columns:1fr}}@media (width<=560px){.app-shell{padding:20px 12px}.productos-panel{padding:18px}.page-header{flex-direction:column;align-items:stretch}.primary-button{width:100%}.producto-form{padding:14px}.form-heading{flex-direction:column;align-items:stretch}.preview-box{min-height:190px}.form-footer .primary-button{width:100%}.producto-item{grid-template-columns:84px minmax(0,1fr);gap:12px}.producto-media{width:84px;height:84px}.producto-actions{grid-column:1/-1}.secondary-button,.danger-button{flex:1}}
